mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
D dynamic compilation support
This commit is contained in:
parent
1c2271d00d
commit
42f283c221
41 changed files with 2058 additions and 9 deletions
|
@ -74,7 +74,7 @@ llvm::StringRef IrFunction::getLLVMFuncName() const {
|
|||
|
||||
llvm::Function *IrFunction::getLLVMCallee() const {
|
||||
assert(func != nullptr);
|
||||
return func;
|
||||
return rtCompileFunc != nullptr ? rtCompileFunc : func;
|
||||
}
|
||||
|
||||
IrFunction *getIrFunc(FuncDeclaration *decl, bool create) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue