| Index: src/ic.cc
|
| diff --git a/src/ic.cc b/src/ic.cc
|
| index b902b5386dc6eff55698908bf4e09621c23a38e8..dd0bb10e1057ad61f3f162727d1c1a66144178e7 100644
|
| --- a/src/ic.cc
|
| +++ b/src/ic.cc
|
| @@ -158,7 +158,7 @@ Address IC::OriginalCodeAddress() const {
|
| // Get the address of the call site in the active code. This is the
|
| // place where the call to DebugBreakXXX is and where the IC
|
| // normally would be.
|
| - Address addr = pc() - Assembler::kCallTargetAddressOffset;
|
| + Address addr = Assembler::target_address_from_return_address(pc());
|
| // Return the address in the original code. This is the place where
|
| // the call which has been overwritten by the DebugBreakXXX resides
|
| // and the place where the inline cache system should look.
|
|
|