Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 55c70d425aa800705c8dba04cce4211ab218163b..348d232248988198e92bd0da64b02e675ad2b31e 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1496,7 +1496,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
__ movq(rbx, Operand(rsp, 0)); // Copy of array literal. |
__ movq(rdi, FieldOperand(rbx, JSObject::kMapOffset)); |
__ Move(rcx, Smi::FromInt(i)); |
- __ movq(rdx, Immediate(expr->literal_index())); |
+ __ Move(rdx, Smi::FromInt(expr->literal_index())); |
StoreArrayLiteralElementStub stub; |
__ CallStub(&stub); |