mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-13 14:36:18 +03:00
Cleanup: Removed unused variable.
This commit is contained in:
parent
89809fdde3
commit
4804cbcdbb
1 changed files with 0 additions and 3 deletions
|
@ -41,7 +41,6 @@ static llvm::cl::opt<bool> noruntime("noruntime",
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
static llvm::Module* M = NULL;
|
static llvm::Module* M = NULL;
|
||||||
static bool runtime_failed = false;
|
|
||||||
|
|
||||||
static void LLVM_D_BuildRuntimeModule();
|
static void LLVM_D_BuildRuntimeModule();
|
||||||
|
|
||||||
|
@ -77,7 +76,6 @@ llvm::Function* LLVM_D_GetRuntimeFunction(llvm::Module* target, const char* name
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!M) {
|
if (!M) {
|
||||||
assert(!runtime_failed);
|
|
||||||
LLVM_D_InitRuntime();
|
LLVM_D_InitRuntime();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +111,6 @@ llvm::GlobalVariable* LLVM_D_GetRuntimeGlobal(llvm::Module* target, const char*
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!M) {
|
if (!M) {
|
||||||
assert(!runtime_failed);
|
|
||||||
LLVM_D_InitRuntime();
|
LLVM_D_InitRuntime();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue