| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index bc5c38cb7c7fcd17e15cbf3a986693a5fb9b0ff8..25ac1cfff9083edd6d3122c1c616cac61a2789b9 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -95,7 +95,9 @@ class IC {
|
| virtual ~IC() {}
|
|
|
| // Get the call-site target; used for determining the state.
|
| - Code* target() const { return GetTargetAtAddress(address()); }
|
| + Handle<Code> target() const { return target_; }
|
| + Code* raw_target() const { return GetTargetAtAddress(address()); }
|
| +
|
| inline Address address() const;
|
|
|
| // Compute the current IC state based on the target stub, receiver and name.
|
| @@ -210,6 +212,9 @@ class IC {
|
|
|
| Isolate* isolate_;
|
|
|
| + // The original code target that missed.
|
| + Handle<Code> target_;
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(IC);
|
| };
|
|
|
|
|