Index: src/builtins/builtins-array.cc |
diff --git a/src/builtins/builtins-array.cc b/src/builtins/builtins-array.cc |
index 19cab23bbfbc7c0a8750c1bda28e46774039465c..a6388e60035256f1f5297b0d8f722ff81f3be1d2 100644 |
--- a/src/builtins/builtins-array.cc |
+++ b/src/builtins/builtins-array.cc |
@@ -2566,10 +2566,9 @@ void Builtins::Generate_ArrayIteratorPrototypeNext( |
Node* elements = |
assembler.AllocateFixedArray(FAST_ELEMENTS, assembler.Int32Constant(2)); |
- assembler.StoreFixedArrayElement(elements, assembler.Int32Constant(0), |
- index, SKIP_WRITE_BARRIER); |
- assembler.StoreFixedArrayElement(elements, assembler.Int32Constant(1), |
- var_value.value(), SKIP_WRITE_BARRIER); |
+ assembler.StoreFixedArrayElement(elements, 0, index, SKIP_WRITE_BARRIER); |
+ assembler.StoreFixedArrayElement(elements, 1, var_value.value(), |
+ SKIP_WRITE_BARRIER); |
Node* entry = assembler.Allocate(JSArray::kSize); |
Node* map = |