Skip to content

Commit fd225c8

Browse files
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.7 [skip ci]
1 parent 9e09134 commit fd225c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly(
156156
llvm::SmallSet<std::size_t, 0> enqueued = {0};
157157

158158
// Instructions reachable through jumps are inserted on the front.
159-
// The next instruction in inserted on the back.
159+
// The next instruction is inserted on the back.
160160
// Pop from the back to ensure non-branching instructions are visited
161161
// sequentially.
162162
while (!to_visit.empty()) {
163-
std::size_t current_index = to_visit.back();
163+
const std::size_t current_index = to_visit.back();
164164
Instruction &inst = *inst_list.GetInstructionAtIndex(current_index);
165165
to_visit.pop_back();
166166
DumpInstToLog(log, inst, inst_list);

0 commit comments

Comments
 (0)