mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 17:43:14 +01:00
Declare more TypeClass instances as builtin.
Another difference to DMD. With the new TypeInfo, this should work now.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/* ========================================================================= */
|
||||
|
||||
Reference in New Issue
Block a user