From 4804cbcdbbc83c9a4dc13eded44bf62db1bd1ae5 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Thu, 20 Dec 2012 03:29:06 +0100 Subject: [PATCH] Cleanup: Removed unused variable. --- gen/runtime.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/gen/runtime.cpp b/gen/runtime.cpp index f5981765..61e22d59 100644 --- a/gen/runtime.cpp +++ b/gen/runtime.cpp @@ -41,7 +41,6 @@ static llvm::cl::opt 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(); }