comparison gen/classes.cpp @ 295:895e1b50cf2a trunk

[svn r316] Fixed array slice assignments like: int[] arr = ...; arr[] = 42; There was problems with most non basic types... Added an option to premake so we can do: premake --target gnu --no-boehm to disable the Boehm GC.
author lindquist
date Mon, 23 Jun 2008 14:48:42 +0200
parents a92ec67eabe7
children 7ade5e035beb
comparison
equal deleted inserted replaced
294:94435b0ab2dd 295:895e1b50cf2a
249 #if OPAQUE_VTBLS 249 #if OPAQUE_VTBLS
250 iri->vtblTy = isaArray(itc->ir.vtblType->get()); 250 iri->vtblTy = isaArray(itc->ir.vtblType->get());
251 #else 251 #else
252 iri->vtblTy = isaStruct(itc->ir.vtblType->get()); 252 iri->vtblTy = isaStruct(itc->ir.vtblType->get());
253 #endif 253 #endif
254 assert(iri->vtblTy);
254 255
255 // set index 256 // set index
256 iri->index = interIdx++; 257 iri->index = interIdx++;
257 } 258 }
258 Logger::println("%d interface vtables added", cd->ir.irStruct->interfaceVec.size()); 259 Logger::println("%d interface vtables added", cd->ir.irStruct->interfaceVec.size());