Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 5e453bf0e1e515c93c3514ca3093de93508e6cd2..ccdb7538a431dea66bf982e7170d0405b3fcb85b 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -236,6 +236,7 @@ class AstGraphBuilder::Environment |
DCHECK(stack_height() > 0); |
Node* back = values()->back(); |
values()->pop_back(); |
+ stack_dirty_ = true; |
return back; |
} |
@@ -244,6 +245,7 @@ class AstGraphBuilder::Environment |
DCHECK(depth >= 0 && depth < stack_height()); |
int index = static_cast<int>(values()->size()) - depth - 1; |
values()->at(index) = node; |
+ stack_dirty_ = true; |
} |
Node* Peek(int depth) { |
DCHECK(depth >= 0 && depth < stack_height()); |
@@ -253,6 +255,7 @@ class AstGraphBuilder::Environment |
void Drop(int depth) { |
DCHECK(depth >= 0 && depth <= stack_height()); |
values()->erase(values()->end() - depth, values()->end()); |
+ stack_dirty_ = true; |
} |
// Preserve a checkpoint of the environment for the IR graph. Any |