Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 3a7febe9d73c98764acfb1aee7bbe28ff81cee43..5e6bfbae437a31e043c3c3c3a30253b14926466b 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -289,7 +289,7 @@ class MacroAssembler: public Assembler { |
void LoadHeapObject(Register dst, Handle<HeapObject> object); |
void LoadObject(Register result, Handle<Object> object) { |
- ALLOW_HANDLE_DEREF(isolate(), "heap object check"); |
+ AllowDeferredHandleDereference heap_object_check; |
if (object->IsHeapObject()) { |
LoadHeapObject(result, Handle<HeapObject>::cast(object)); |
} else { |