Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index d55451b3ec5728ab21b7effb97b0decfc86ab4b7..15436e7140b7834221394112263c65a12019dff0 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -85,10 +85,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); |
li(result, Operand(cell)); |
- lw(result, FieldMemOperand(result, JSGlobalPropertyCell::kValueOffset)); |
+ lw(result, FieldMemOperand(result, Cell::kValueOffset)); |
} else { |
li(result, Operand(object)); |
} |