From cef5b27400f2fc6259e1c0be918e7c75f77b9ed9 Mon Sep 17 00:00:00 2001 From: Kai Nacke Date: Thu, 7 Nov 2013 17:13:45 +0100 Subject: [PATCH] Revert "Declare more TypeClass instances as builtin." This reverts commit f7f62a609db70b9db6450c8752858c5c8470b1e3. --- gen/typinf.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gen/typinf.cpp b/gen/typinf.cpp index c9b58bdf..60c6e895 100644 --- a/gen/typinf.cpp +++ b/gen/typinf.cpp @@ -267,7 +267,13 @@ 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 } /* ========================================================================= */