Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 6305a79203125435eb88256ddab7039ed127c874..0300dc8b9a21ef36a8803b2e0106d143f6fe023e 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -483,12 +483,8 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
Operand(static_cast<int64_t>(Map::kSlackTrackingCounterEnd))); |
// Allocate object with a slack. |
- __ lwu(a0, FieldMemOperand(a2, Map::kInstanceSizesOffset)); |
- __ Ext(a0, a0, Map::kInObjectPropertiesByte * kBitsPerByte, |
- kBitsPerByte); |
- __ lwu(a2, FieldMemOperand(a2, Map::kInstanceAttributesOffset)); |
- __ Ext(a2, a2, Map::kUnusedPropertyFieldsByte * kBitsPerByte, |
- kBitsPerByte); |
+ __ lbu(a0, FieldMemOperand(a2, Map::kInObjectPropertiesOffset)); |
+ __ lbu(a2, FieldMemOperand(a2, Map::kUnusedPropertyFieldsOffset)); |
__ dsubu(a0, a0, a2); |
__ dsll(at, a0, kPointerSizeLog2); |
__ daddu(a0, t1, at); |