Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 25e4a04fe7a919a80612ea9a1ea76ade20a81910..11d3066b91c0d2055c9f7746190861cf112baa92 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -162,7 +162,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 { |