mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 15:04:57 +00:00
Fix regressions introduced by my previous patch: opt calls verifier in a
way that the "Mod" ivar was not getting set. llvm-svn: 36291
This commit is contained in:
parent
a6bb7b3907
commit
1907945816
@ -113,7 +113,9 @@ namespace { // Anonymous namespace for class
|
|||||||
bool runOnFunction(Function &F) {
|
bool runOnFunction(Function &F) {
|
||||||
// Get dominator information if we are being run by PassManager
|
// Get dominator information if we are being run by PassManager
|
||||||
if (RealPass) EF = &getAnalysis<ETForest>();
|
if (RealPass) EF = &getAnalysis<ETForest>();
|
||||||
|
|
||||||
|
Mod = F.getParent();
|
||||||
|
|
||||||
visit(F);
|
visit(F);
|
||||||
InstsInThisBlock.clear();
|
InstsInThisBlock.clear();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user