Fixed some unmerged parts of the D2 frontend.

Removed the automatic linker flags for D2 (temp).
Renamed a runtime function for D2.
This commit is contained in:
Robert Clipsham
2009-07-06 23:54:02 +01:00
parent 5658d9bb38
commit 1812c5b00a
3 changed files with 20 additions and 6 deletions

View File

@@ -328,7 +328,11 @@ static void LLVM_D_BuildRuntimeModule()
// 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);