| Index: src/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc
|
| index 114933f0ad38b2bd7393f316d82d27ccdf3e3103..f6a5d005b17b25d89b68cac82d8ad5c77d332ab2 100644
|
| --- a/src/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/mips64/lithium-codegen-mips64.cc
|
| @@ -2738,8 +2738,8 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) {
|
| // root array to force relocation to be able to later patch with
|
| // the cached map.
|
| Handle<Cell> cell = factory()->NewCell(factory()->the_hole_value());
|
| - __ li(at, Operand(Handle<Object>(cell)));
|
| - __ ld(at, FieldMemOperand(at, PropertyCell::kValueOffset));
|
| + __ li(at, Operand(cell));
|
| + __ ld(at, FieldMemOperand(at, Cell::kValueOffset));
|
| __ BranchShort(&cache_miss, ne, map, Operand(at));
|
| // We use Factory::the_hole_value() on purpose instead of loading from the
|
| // root array to force relocation to be able to later patch
|
| @@ -5285,7 +5285,7 @@ void LCodeGen::DoCheckValue(LCheckValue* instr) {
|
| if (isolate()->heap()->InNewSpace(*object)) {
|
| Register reg = ToRegister(instr->value());
|
| Handle<Cell> cell = isolate()->factory()->NewCell(object);
|
| - __ li(at, Operand(Handle<Object>(cell)));
|
| + __ li(at, Operand(cell));
|
| __ ld(at, FieldMemOperand(at, Cell::kValueOffset));
|
| DeoptimizeIf(ne, instr, Deoptimizer::kValueMismatch, reg, Operand(at));
|
| } else {
|
|
|