| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index 45fde7700b993f43fe2244e8ab1f68aaaaf848dc..1f44f9c64977762c0e63809f0928cc1e7a3efc50 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -152,7 +152,8 @@ void TypeFeedbackOracle::GetStoreModeAndKeyType(
|
|
|
|
|
| Handle<JSFunction> TypeFeedbackOracle::GetCallTarget(FeedbackVectorSlot slot) {
|
| - Handle<Object> info = GetInfo(slot);
|
| + CallICNexus nexus(feedback_vector_, slot);
|
| + Handle<Object> info = nexus.GetCallFeedback();
|
| if (info->IsAllocationSite()) {
|
| return Handle<JSFunction>(isolate()->native_context()->array_function());
|
| }
|
| @@ -163,7 +164,8 @@ Handle<JSFunction> TypeFeedbackOracle::GetCallTarget(FeedbackVectorSlot slot) {
|
|
|
| Handle<JSFunction> TypeFeedbackOracle::GetCallNewTarget(
|
| FeedbackVectorSlot slot) {
|
| - Handle<Object> info = GetInfo(slot);
|
| + ConstructICNexus nexus(feedback_vector_, slot);
|
| + Handle<Object> info = nexus.GetCallFeedback();
|
| if (info->IsJSFunction()) {
|
| return Handle<JSFunction>::cast(info);
|
| }
|
|
|