Skip to content

Commit 0c7cfe6

Browse files
Address comments.
1 parent 2b24cc6 commit 0c7cfe6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/MC/MCSFrame.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,7 @@ class SFrameEmitterImpl {
262262
// mismatch here is an implementation error.
263263
assert(!FDE.SaveState.empty() &&
264264
"cfi_restore_state without cfi_save_state");
265-
FRE = FDE.SaveState.back();
266-
FDE.SaveState.pop_back();
265+
FRE = FDE.SaveState.pop_back_val();
267266
return true;
268267
case MCCFIInstruction::OpEscape:
269268
// TODO: Implement. Will use FDE.

0 commit comments

Comments
 (0)