Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 6673a866456303739b59d2730215580edfd0ce07..0b4bd2d77b8f2d26577449f2642f8bfbaadc2b9a 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -2761,8 +2761,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))); |
- __ lw(at, FieldMemOperand(at, PropertyCell::kValueOffset)); |
+ __ li(at, Operand(cell)); |
+ __ lw(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 |
@@ -5249,7 +5249,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)); |
__ lw(at, FieldMemOperand(at, Cell::kValueOffset)); |
DeoptimizeIf(ne, instr, Deoptimizer::kValueMismatch, reg, Operand(at)); |
} else { |