Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index f3cfdc76a90e64ce8e10e3b3f9f36f88bc7f3389..4b6eac2974c1b6cdd11d017b5989e29ea678a56f 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -400,10 +400,9 @@ void MacroAssembler::LoadHeapObject(Register result, |
Handle<HeapObject> object) { |
AllowDeferredHandleDereference using_raw_address; |
if (isolate()->heap()->InNewSpace(*object)) { |
- Handle<JSGlobalPropertyCell> cell = |
- isolate()->factory()->NewJSGlobalPropertyCell(object); |
+ Handle<Cell> cell = isolate()->factory()->NewCell(object); |
mov(result, Operand(cell)); |
- ldr(result, FieldMemOperand(result, JSGlobalPropertyCell::kValueOffset)); |
+ ldr(result, FieldMemOperand(result, Cell::kValueOffset)); |
} else { |
mov(result, Operand(object)); |
} |