comparison gen/typinf.cpp @ 1367:8026319762be

Merged DMD 1.045 !!!
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sat, 16 May 2009 22:21:31 +0200
parents 46f6365a50d7
children e630ff79e10d
comparison
equal deleted inserted replaced
1366:81121ac19f61 1367:8026319762be
248 { 248 {
249 #if DMDV2 249 #if DMDV2
250 return !mod && next->isTypeBasic() != NULL && !next->mod; 250 return !mod && next->isTypeBasic() != NULL && !next->mod;
251 #else 251 #else
252 return next->isTypeBasic() != NULL; 252 return next->isTypeBasic() != NULL;
253 #endif
254 }
255
256 int TypeClass::builtinTypeInfo()
257 {
258 /* This is statically put out with the ClassInfo, so
259 * claim it is built in so it isn't regenerated by each module.
260 */
261 #if IN_DMD
262 return 1;
263 #elif IN_LLVM
264 // FIXME if I enable this, the way LDC does typeinfo will cause a bunch
265 // of linker errors to missing class typeinfo definitions.
266 return 0;
253 #endif 267 #endif
254 } 268 }
255 269
256 /* ========================================================================= */ 270 /* ========================================================================= */
257 271