Index: src/ic-inl.h |
diff --git a/src/ic-inl.h b/src/ic-inl.h |
index 0e41093e5cdc2398f0cf00020012acd6ad8d67ad..49b6ef9d0fe0a3b530e0d0455348088956ea59b1 100644 |
--- a/src/ic-inl.h |
+++ b/src/ic-inl.h |
@@ -40,7 +40,7 @@ namespace internal { |
Address IC::address() const { |
// Get the address of the call. |
- Address result = pc() - Assembler::kCallTargetAddressOffset; |
+ Address result = Assembler::target_address_from_return_address(pc()); |
#ifdef ENABLE_DEBUGGER_SUPPORT |
Debug* debug = Isolate::Current()->debug(); |