Cleanup: Removed unused variable.

This commit is contained in:
David Nadlinger 2012-12-20 03:29:06 +01:00
parent 89809fdde3
commit 4804cbcdbb

View file

@ -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();
} }