aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-28 00:36:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-28 00:36:04 +0000
commit2149470b6aca57e9ca2b7fb80416932ca75bbff7 (patch)
treeafcba4fa9a80823bdf12848b2d23b91fac9cf786 /lib/CodeGen/CodeGenFunction.cpp
parent9d293dfc0ad7c44ae0b5eb9517f1ed8c8d8b7ff7 (diff)
Don't run the verifier as part of IRgen, this is now down (per module)
in the driver (this means we no longer run the verifier per function, however). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp
index 2ee08eae17..acce366ae9 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -17,7 +17,6 @@
#include "clang/Basic/TargetInfo.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
-#include "llvm/Analysis/Verifier.h"
#include "llvm/Support/CFG.h"
using namespace clang;
using namespace CodeGen;
@@ -88,12 +87,6 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
// Remove the AllocaInsertPt instruction, which is just a convenience for us.
AllocaInsertPt->eraseFromParent();
AllocaInsertPt = 0;
-
- // Verify that the function is well formed.
- if (verifyFunction(*CurFn, llvm::PrintMessageAction)) {
- CurFn->dump();
- assert(0 && "Function failed verification!");
- }
}
void CodeGenFunction::StartFunction(const Decl *D, QualType RetTy,