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