Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index ceea7890b46837ed1fd6ceeaf0d9966fefeb5ce4..765664cf30fd1dc6aa989ab11e741c47290e49dd 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1331,7 +1331,8 @@ void AstGraphBuilder::VisitForInStatement(ForInStatement* stmt) { |
// Prepare for-in cache. |
Node* prepare = NewNode(javascript()->ForInPrepare(), object); |
- PrepareFrameState(prepare, stmt->EnumId(), OutputFrameStateCombine::Push()); |
+ PrepareFrameState(prepare, stmt->PrepareId(), |
+ OutputFrameStateCombine::Push(3)); |
Node* cache_type = NewNode(common()->Projection(0), prepare); |
Node* cache_array = NewNode(common()->Projection(1), prepare); |
Node* cache_length = NewNode(common()->Projection(2), prepare); |