From f7f62a609db70b9db6450c8752858c5c8470b1e3 Mon Sep 17 00:00:00 2001 From: Kai Nacke Date: Sun, 3 Nov 2013 15:23:11 +0100 Subject: [PATCH] Declare more TypeClass instances as builtin. Another difference to DMD. With the new TypeInfo, this should work now. --- gen/typinf.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gen/typinf.cpp b/gen/typinf.cpp index 60c6e895..c9b58bdf 100644 --- a/gen/typinf.cpp +++ b/gen/typinf.cpp @@ -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 } /* ========================================================================= */