Skip to content

Commit a26b3f4

Browse files
committed
Fix misleading nesting.
1 parent ab75997 commit a26b3f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Yk/StackMaps.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class YkStackmaps : public ModulePass {
5252
if (F.empty()) // skip declarations.
5353
continue;
5454
LivenessAnalysis LA(&F);
55-
for (BasicBlock &BB : F)
55+
for (BasicBlock &BB : F) {
5656
for (Instruction &I : BB) {
5757
if (isa<CallInst>(I)) {
5858
CallInst &CI = cast<CallInst>(I);
@@ -78,6 +78,7 @@ class YkStackmaps : public ModulePass {
7878
SMCalls.insert({&I, LA.getLiveVarsBefore(&I)});
7979
}
8080
}
81+
}
8182
}
8283

8384
Function *SMFunc = Intrinsic::getDeclaration(&M, SMFuncID);

0 commit comments

Comments
 (0)