Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/FrontendTool/FrontendTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,11 +807,6 @@ static bool performCompile(CompilerInstance &Instance,
}
}

// WALAWalker Integration
WALAWalker ww;
ww.analyzeSILModule(*SM);
// End WALAWalker Integration

if (observer) {
observer->performedSILGeneration(*SM);
}
Expand Down Expand Up @@ -1004,6 +999,11 @@ static bool performCompile(CompilerInstance &Instance,
assert(Action >= FrontendOptions::ActionType::EmitSIL &&
"All actions not requiring SILPasses must have been handled!");

// WALAWalker Integration
WALAWalker ww;
ww.analyzeSILModule(*SM);
// End WALAWalker Integration

// We've been told to write canonical SIL, so write it now.
if (Action == FrontendOptions::ActionType::EmitSIL) {
return writeSIL(*SM, Instance.getMainModule(), opts.EmitVerboseSIL,
Expand Down