From: Hoehle, Joerg-C. <Joe...@t-...> - 2006-02-27 18:06:15
|
What does failure of the grep gcv_object_t * mean? egrep ' var gcv_object_t *[^* ]' *.d intserial.d: var gcv_object_t fake; fake = FAKE_8BIT_VECTOR(bufferptr); intserial.d: var gcv_object_t fake; fake = FAKE_8BIT_VECTOR(bufferptr); spvw_garcol.d: var gcv_object_t forward = ((Sistring)p2)->data; spvw_garcol.d: var gcv_object_t target = TheSstring(forward)->GCself; spvw_garcol.d: var gcv_object_t backpointer = ((Varobject)backchain)->GCself; spvw_garcol.d: var gcv_object_t target; target = with_mark_bit(make_GCself(sstring_type,p1)); spvw_garcol.d: var gcv_object_t backpointer = ((Varobject)backchain)->GCself; spvw_garcol.d: var gcv_object_t forward = ((Instance)p2)->inst_class_version; spvw_garcol.d: var gcv_object_t target = TheInstance(forward)->GCself; spvw_garcol.d: var gcv_object_t backpointer = ((Varobject)backchain)->GCself; spvw_garcol.d: var gcv_object_t target; target = with_mark_bit(make_GCself(type,p1)); spvw_garcol.d: var gcv_object_t backpointer = ((Varobject)backchain)->GCself; I could accept that garcol has some exceptions to the general rule. intserial looks innocent, but what do I know about gcv_xyz? intserial.d: # Converts a little-endian byte sequence to an integer. # > bytesize: number of given 8-bit bytes of the integer, > 0, # < intDsize/8*uintWC_max # > bufferptr: address of bytesize bytes of memory # < result: an integer with I_integer_length(result) < 8*bytesize global maygc object LEbytes_to_I (uintL bytesize, const uintB* bufferptr) { var gcv_object_t fake; fake = FAKE_8BIT_VECTOR(bufferptr); return LESbvector_to_I(bytesize,&fake); } Thanks for your help, Jorg Hohle. |
From: Bruno H. <br...@cl...> - 2006-02-27 19:37:41
|
J=C3=B6rg, > What does failure of the grep gcv_object_t * mean? > > egrep ' var gcv_object_t *[^* ]' *.d Harmless. You can filter out these matches. > intserial looks innocent, but what do I know about gcv_xyz? Yes, it's innocent. I just re-verified it and updated the comments. Bruno |