Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index 0fdef25c67b39c496e161329e1b2179b1e34de97..55fb03d43b1036f70c00d920150bc0b14df4cd74 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -4392,7 +4392,7 @@ void CodeGenerator::GenerateRegExpConstructResult(ZoneList<Expression*>* args) { |
__ Move(FieldOperand(rcx, HeapObject::kMapOffset), |
Factory::fixed_array_map()); |
// Set length. |
- __ movq(FieldOperand(rcx, FixedArray::kLengthOffset), rbx); |
+ __ movl(FieldOperand(rcx, FixedArray::kLengthOffset), rbx); |
// Fill contents of fixed-array with the-hole. |
__ Move(rdx, Factory::the_hole_value()); |
__ lea(rcx, FieldOperand(rcx, FixedArray::kHeaderSize)); |
@@ -8954,7 +8954,7 @@ void ArgumentsAccessStub::GenerateNewObject(MacroAssembler* masm) { |
__ movq(FieldOperand(rax, JSObject::kElementsOffset), rdi); |
__ LoadRoot(kScratchRegister, Heap::kFixedArrayMapRootIndex); |
__ movq(FieldOperand(rdi, FixedArray::kMapOffset), kScratchRegister); |
- __ movq(FieldOperand(rdi, FixedArray::kLengthOffset), rcx); |
+ __ movl(FieldOperand(rdi, FixedArray::kLengthOffset), rcx); |
// Copy the fixed array slots. |
Label loop; |