Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 45df985b60cc1599fc0cc3401dab88c2725895b3..20a0724ce2479412b2c05bb900ce0d6543c73d6e 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -214,7 +214,7 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
// Now allocate the JSObject on the heap. |
__ movzxbp(rdi, FieldOperand(rax, Map::kInstanceSizeOffset)); |
- __ shl(rdi, Immediate(kPointerSizeLog2)); |
+ __ shlp(rdi, Immediate(kPointerSizeLog2)); |
if (create_memento) { |
__ addp(rdi, Immediate(AllocationMemento::kSize)); |
} |