got rid of tyPureObject; broke bootstrapping; use generated C code

This commit is contained in:
Araq 2011-09-24 09:35:00 +02:00
commit bd2d146c77
7 changed files with 19 additions and 14 deletions

View file

@ -301,7 +301,7 @@ proc forAllChildrenAux(dest: Pointer, mt: PNimType, op: TWalkOp) =
case mt.Kind
of tyRef, tyString, tySequence: # leaf:
doOperation(cast[ppointer](d)[], op)
of tyObject, tyTuple, tyPureObject:
of tyObject, tyTuple:
forAllSlotsAux(dest, mt.node, op)
of tyArray, tyArrayConstr, tyOpenArray:
for i in 0..(mt.size div mt.base.size)-1: