Index: src/compiler/js-builtin-reducer.cc |
diff --git a/src/compiler/js-builtin-reducer.cc b/src/compiler/js-builtin-reducer.cc |
index dc6eb1464f21ba2a8c211f6245ce2ba7d3302fa0..6f36b41f25d4e989cfd91a39fb556d445ba697e2 100644 |
--- a/src/compiler/js-builtin-reducer.cc |
+++ b/src/compiler/js-builtin-reducer.cc |
@@ -444,8 +444,9 @@ Reduction JSBuiltinReducer::ReduceFastArrayIteratorNext( |
if (kind == IterationKind::kEntries) { |
// Allocate elements for key/value pair |
- vtrue1 = etrue1 = graph()->NewNode( |
- javascript()->CreateKeyValueArray(), index, value, etrue1); |
+ vtrue1 = etrue1 = |
+ graph()->NewNode(javascript()->CreateKeyValueArray(), index, |
+ value, context, etrue1); |
} else { |
DCHECK_EQ(kind, IterationKind::kValues); |
vtrue1 = value; |
@@ -620,8 +621,9 @@ Reduction JSBuiltinReducer::ReduceTypedArrayIteratorNext( |
if (kind == IterationKind::kEntries) { |
// Allocate elements for key/value pair |
- vtrue2 = etrue2 = graph()->NewNode( |
- javascript()->CreateKeyValueArray(), index, value, etrue2); |
+ vtrue2 = etrue2 = |
+ graph()->NewNode(javascript()->CreateKeyValueArray(), index, |
+ value, context, etrue2); |
} else { |
DCHECK(kind == IterationKind::kValues); |
vtrue2 = value; |