mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 05:47:11 +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 bool runtime_failed = false;
|
||||
|
||||
static void LLVM_D_BuildRuntimeModule();
|
||||
|
||||
|
@ -77,7 +76,6 @@ llvm::Function* LLVM_D_GetRuntimeFunction(llvm::Module* target, const char* name
|
|||
}
|
||||
|
||||
if (!M) {
|
||||
assert(!runtime_failed);
|
||||
LLVM_D_InitRuntime();
|
||||
}
|
||||
|
||||
|
@ -113,7 +111,6 @@ llvm::GlobalVariable* LLVM_D_GetRuntimeGlobal(llvm::Module* target, const char*
|
|||
}
|
||||
|
||||
if (!M) {
|
||||
assert(!runtime_failed);
|
||||
LLVM_D_InitRuntime();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue