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 {
198
198
199
199
while (!toProcess.empty ()) {
200
200
// Get block and block liveness information.
201
- Block *block = toProcess.back ();
202
- toProcess.pop_back ();
201
+ Block *block = toProcess.pop_back_val ();
203
202
const LivenessBlockInfo *blockInfo = getLiveness (block);
204
203
205
204
// 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 {
1198
1198
// / Pops a code iterator from the stack, returning true on success.
1199
1199
void popCodeIt () {
1200
1200
assert (!resumeCodeIt.empty () && " attempt to pop code off empty stack" );
1201
- curCodeIt = resumeCodeIt.back ();
1202
- resumeCodeIt.pop_back ();
1201
+ curCodeIt = resumeCodeIt.pop_back_val ();
1203
1202
}
1204
1203
1205
1204
// / Return the bytecode iterator at the start of the current op code.
You can’t perform that action at this time.
0 commit comments