Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 87d09c01f9f0839515c64e351426124dfa1d51be..48395897da826b34adad426cabf92407376d1075 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -1734,7 +1734,7 @@ void CompareIC::UpdateCaches(Handle<Object> x, Handle<Object> y) { |
void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
Address cmp_instruction_address = |
- address + Assembler::kCallTargetAddressOffset; |
+ Assembler::return_address_from_call_start(address); |
// If the instruction following the call is not a cmp rx, #yyy, nothing |
// was inlined. |