Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index b60d1a8142814b9533f3bd979388355899f0a585..6d97e4405f1b0c343818a2a0faa0fca8de3f30f6 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -439,7 +439,10 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
Operand(static_cast<int64_t>(Map::kSlackTrackingCounterEnd))); |
// Allocate object with a slack. |
- __ lbu(a0, FieldMemOperand(a2, Map::kInObjectPropertiesOffset)); |
+ __ lbu( |
+ a0, |
+ FieldMemOperand( |
+ a2, Map::kInObjectPropertiesOrConstructorFunctionIndexOffset)); |
__ lbu(a2, FieldMemOperand(a2, Map::kUnusedPropertyFieldsOffset)); |
__ dsubu(a0, a0, a2); |
__ dsll(at, a0, kPointerSizeLog2); |