Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 9d0872a7e1531fbe5b70d75a36b8c306747c3a98..a5a3f9b04e23100b6a6393acac08c983e431f5ba 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2827,8 +2827,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()); |
- __ mov(ip, Operand(Handle<Object>(cell))); |
- __ ldr(ip, FieldMemOperand(ip, PropertyCell::kValueOffset)); |
+ __ mov(ip, Operand(cell)); |
+ __ ldr(ip, FieldMemOperand(ip, Cell::kValueOffset)); |
__ cmp(map, Operand(ip)); |
__ b(ne, &cache_miss); |
__ bind(deferred->load_bool()); // Label for calculating code patching. |
@@ -5198,7 +5198,7 @@ void LCodeGen::DoCheckValue(LCheckValue* instr) { |
if (isolate()->heap()->InNewSpace(*object)) { |
Register reg = ToRegister(instr->value()); |
Handle<Cell> cell = isolate()->factory()->NewCell(object); |
- __ mov(ip, Operand(Handle<Object>(cell))); |
+ __ mov(ip, Operand(cell)); |
__ ldr(ip, FieldMemOperand(ip, Cell::kValueOffset)); |
__ cmp(reg, ip); |
} else { |