Skip to content

Commit 993b987

Browse files
aheejindschuff
andauthored
Apply suggestions from code review
Co-authored-by: Derek Schuff <[email protected]>
1 parent 9c58b72 commit 993b987

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,11 +1299,11 @@ void WebAssemblyCFGStackify::addNestedTryDelegate(
12991299
// end_try_table
13001300
// ...
13011301
// end_block ;; Trampoline BB
1302-
// throw_fef
1302+
// throw_ref
13031303
// end_try_table
13041304
MachineBasicBlock *
13051305
WebAssemblyCFGStackify::getTrampolineBlock(MachineBasicBlock *UnwindDest) {
1306-
// We need one trampoline BB per an unwind destination, even though there are
1306+
// We need one trampoline BB per unwind destination, even though there are
13071307
// multiple try_tables target the same unwind destination. If we have already
13081308
// created one for the given UnwindDest, return it.
13091309
auto It = UnwindDestToTrampoline.find(UnwindDest);
@@ -1486,7 +1486,7 @@ void WebAssemblyCFGStackify::addNestedTryTable(MachineInstr *RangeBegin,
14861486
PreBB->addSuccessor(PostBB);
14871487
}
14881488

1489-
// Add a 'try_table' instruction in the delegate BB created above.
1489+
// Add a 'end_try_table' instruction in the EndTryTable BB created above.
14901490
MachineInstr *EndTryTable = BuildMI(EndTryTableBB, RangeEnd->getDebugLoc(),
14911491
TII.get(WebAssembly::END_TRY_TABLE));
14921492
registerTryScope(TryTable, EndTryTable, nullptr);

0 commit comments

Comments
 (0)