mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-03 10:39:02 +02:00
Merged DMD 1.045 !!!
This commit is contained in:
@@ -253,6 +253,20 @@ int TypeDArray::builtinTypeInfo()
|
||||
#endif
|
||||
}
|
||||
|
||||
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 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