aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Rewrite/ByteCode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Rewrite/ByteCode.cpp')
-rw-r--r--mlir/lib/Rewrite/ByteCode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mlir/lib/Rewrite/ByteCode.cpp b/mlir/lib/Rewrite/ByteCode.cpp
index 26510f9..17cb3a7 100644
--- a/mlir/lib/Rewrite/ByteCode.cpp
+++ b/mlir/lib/Rewrite/ByteCode.cpp
@@ -1198,8 +1198,7 @@ private:
/// Pops a code iterator from the stack, returning true on success.
void popCodeIt() {
assert(!resumeCodeIt.empty() && "attempt to pop code off empty stack");
- curCodeIt = resumeCodeIt.back();
- resumeCodeIt.pop_back();
+ curCodeIt = resumeCodeIt.pop_back_val();
}
/// Return the bytecode iterator at the start of the current op code.