Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 94aa42c51aadb0a4881de57aa48fe2d6ab7e4ddc..55961c7ff059cc7ab9ddf31dd77599c0e587d70c 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -225,7 +225,10 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
__ j(less, &no_inobject_slack_tracking); |
// Allocate object with a slack. |
- __ movzxbp(rsi, FieldOperand(rax, Map::kInObjectPropertiesOffset)); |
+ __ movzxbp( |
+ rsi, |
+ FieldOperand( |
+ rax, Map::kInObjectPropertiesOrConstructorFunctionIndexOffset)); |
__ movzxbp(rax, FieldOperand(rax, Map::kUnusedPropertyFieldsOffset)); |
__ subp(rsi, rax); |
__ leap(rsi, |