mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-25 09:03:14 +01:00
[svn r14] Forgot something stupid...y
This commit is contained in:
@@ -619,12 +619,9 @@ void FuncDeclaration::toObjFile()
|
||||
Logger::println("queueing %s", toChars());
|
||||
assert(!gIR->classmethods.empty());
|
||||
gIR->classmethods.back().push_back(this);
|
||||
return; // will be generated later when the this parameter has a type
|
||||
return; // we wait with the definition as they might invoke a virtual method and the vtable is not yet complete
|
||||
}
|
||||
|
||||
if (llvmNeedsDefinition)
|
||||
{
|
||||
|
||||
TypeFunction* f = (TypeFunction*)type;
|
||||
llvm::FunctionType* functype = llvm::cast<llvm::FunctionType>(f->llvmType);
|
||||
|
||||
@@ -714,8 +711,6 @@ void FuncDeclaration::toObjFile()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
llvmDModule = gIR->dmodule;
|
||||
|
||||
Logger::println("FuncDeclaration done\n");
|
||||
|
||||
Reference in New Issue
Block a user