OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3b678
)
Fix regressions introduced by my previous patch: opt calls verifier in a
author
Chris Lattner
<sabre@nondot.org>
Fri, 20 Apr 2007 23:59:29 +0000
(23:59 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 20 Apr 2007 23:59:29 +0000
(23:59 +0000)
way that the "Mod" ivar was not getting set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36291
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Verifier.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Verifier.cpp
b/lib/VMCore/Verifier.cpp
index
c0a0dc6
..
1936766
100644
(file)
--- a/
lib/VMCore/Verifier.cpp
+++ b/
lib/VMCore/Verifier.cpp
@@
-113,7
+113,9
@@
namespace { // Anonymous namespace for class
bool runOnFunction(Function &F) {
// Get dominator information if we are being run by PassManager
if (RealPass) EF = &getAnalysis<ETForest>();
-
+
+ Mod = F.getParent();
+
visit(F);
InstsInThisBlock.clear();