mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Fix regressions introduced by my previous patch: opt calls verifier in a
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
This commit is contained in:
parent
0d3b67809c
commit
cd070759c4
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user