| Index: src/x64/codegen-x64.cc
|
| diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc
|
| index 572fa623eec145417e2c2ddd8c8cf4117100d176..46e0114e5ccde5f94d5a7bf1c9343f0338e5abed 100644
|
| --- a/src/x64/codegen-x64.cc
|
| +++ b/src/x64/codegen-x64.cc
|
| @@ -2641,7 +2641,7 @@ void CodeGenerator::VisitArrayLiteral(ArrayLiteral* node) {
|
|
|
| // Generate code to set the elements in the array that are not
|
| // literals.
|
| - for (int i = 0; i < node->values()->length(); i++) {
|
| + for (int i = 0; i < length; i++) {
|
| Expression* value = node->values()->at(i);
|
|
|
| // If value is a literal the property value is already set in the
|
|
|