aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--lib/CodeGen/CodeGenModule.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp
index aaca21bab3..2ca893fb41 100644
--- a/lib/CodeGen/CodeGenModule.cpp
+++ b/lib/CodeGen/CodeGenModule.cpp
@@ -25,7 +25,6 @@
#include "llvm/Module.h"
#include "llvm/Intrinsics.h"
#include "llvm/Target/TargetData.h"
-#include "llvm/Analysis/Verifier.h"
using namespace clang;
using namespace CodeGen;
@@ -64,11 +63,6 @@ void CodeGenModule::Release() {
EmitCtorList(GlobalDtors, "llvm.global_dtors");
EmitAnnotations();
BindRuntimeFunctions();
- // Run the verifier to check that the generated code is consistent.
- if (verifyModule(TheModule, llvm::PrintMessageAction)) {
- TheModule.dump();
- assert(0 && "Module failed verification!");
- }
}
void CodeGenModule::BindRuntimeFunctions() {