_d_allocclass -> "_d_newclass".

The define is a leftover from the times when we supported
both D1 and D2.
This commit is contained in:
David Nadlinger
2013-10-24 00:25:36 +02:00
parent 3d8e2e5e5c
commit 1f59740524
5 changed files with 6 additions and 7 deletions

View File

@@ -426,9 +426,9 @@ static void LLVM_D_BuildRuntimeModule()
llvm::Function::Create(fty, llvm::GlobalValue::ExternalLinkage, fname, M);
}
// Object _d_allocclass(ClassInfo ci)
// Object _d_newclass(const ClassInfo ci)
{
llvm::StringRef fname(_d_allocclass);
llvm::StringRef fname("_d_newclass");
LLType *types[] = { classInfoTy };
LLFunctionType* fty = llvm::FunctionType::get(voidPtrTy, types, false);
llvm::Function::Create(fty, llvm::GlobalValue::ExternalLinkage, fname, M)