diff gen/runtime.cpp @ 1527:f19adff18813

A couple of ldc2 tweaks now druntime compiles.
author Robert Clipsham <robert@octarineparrot.com>
date Thu, 09 Jul 2009 12:36:08 +0100
parents b265fb6ce15b
children ad7f2f1862d6
line wrap: on
line diff
--- a/gen/runtime.cpp	Tue Jul 07 02:26:11 2009 +0100
+++ b/gen/runtime.cpp	Thu Jul 09 12:36:08 2009 +0100
@@ -336,11 +336,7 @@
 
     // Object _d_allocclass(ClassInfo ci)
     {
-#if DMDV2
-        std::string fname("_d_newclass");
-#else
         std::string fname("_d_allocclass");
-#endif
         std::vector<const LLType*> types;
         types.push_back(classInfoTy);
         const llvm::FunctionType* fty = llvm::FunctionType::get(voidPtrTy, types, false);