Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 7aec20637b32d20eb47dfd06edf5ba77b90e5b7a..5e4387f85ac65d381f562db7125a67b5a87bf598 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -3710,7 +3710,7 @@ void InstanceofStub::Generate(MacroAssembler* masm) { |
// The offset was stored in r4 safepoint slot. |
// (See LCodeGen::DoDeferredLInstanceOfKnownGlobal) |
- __ ldr(scratch, MacroAssembler::SafepointRegisterSlot(r4)); |
+ __ LoadFromSafepointRegisterSlot(scratch, r4); |
__ sub(inline_site, lr, scratch); |
// Get the map location in scratch and patch it. |
__ GetRelocatedValueLocation(inline_site, scratch); |