Declare more TypeClass instances as builtin.

Another difference to DMD. With the new TypeInfo, this should work now.
This commit is contained in:
Kai Nacke
2013-11-03 15:23:11 +01:00
parent ecefd81c42
commit f7f62a609d

View File

@@ -267,13 +267,7 @@ int TypeClass::builtinTypeInfo()
/* This is statically put out with the ClassInfo, so
* claim it is built in so it isn't regenerated by each module.
*/
#if IN_DMD
return mod ? 0 : 1;
#elif IN_LLVM
// FIXME if I enable this, the way LDC does typeinfo will cause a bunch
// of linker errors to missing class typeinfo definitions.
return 0;
#endif
}
/* ========================================================================= */