mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 20:33:14 +01:00
_d_allocclass -> "_d_newclass".
The define is a leftover from the times when we supported both D1 and D2.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user