| Index: src/compiler/js-builtin-reducer.cc
|
| diff --git a/src/compiler/js-builtin-reducer.cc b/src/compiler/js-builtin-reducer.cc
|
| index bc7ab6f1d29866ba64b1ea07be823ac62f96e0af..b5504d16ce3747a4bcbb26f4a510161b30f36076 100644
|
| --- a/src/compiler/js-builtin-reducer.cc
|
| +++ b/src/compiler/js-builtin-reducer.cc
|
| @@ -434,8 +434,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;
|
| @@ -601,8 +602,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;
|
|
|