File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,7 @@ Liveness::OperationListT Liveness::resolveLiveness(Value value) const {
198198
199199 while (!toProcess.empty ()) {
200200 // Get block and block liveness information.
201- Block *block = toProcess.back ();
202- toProcess.pop_back ();
201+ Block *block = toProcess.pop_back_val ();
203202 const LivenessBlockInfo *blockInfo = getLiveness (block);
204203
205204 // Note that start and end will be in the same block.
Original file line number Diff line number Diff line change @@ -1198,8 +1198,7 @@ class ByteCodeExecutor {
11981198 // / Pops a code iterator from the stack, returning true on success.
11991199 void popCodeIt () {
12001200 assert (!resumeCodeIt.empty () && " attempt to pop code off empty stack" );
1201- curCodeIt = resumeCodeIt.back ();
1202- resumeCodeIt.pop_back ();
1201+ curCodeIt = resumeCodeIt.pop_back_val ();
12031202 }
12041203
12051204 // / Return the bytecode iterator at the start of the current op code.
You can’t perform that action at this time.
0 commit comments