Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index e663998ccbca1649988cc0f599e1f86e1b5d637a..d5aed14441a4f98584b5ce07e149124de267393a 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -248,6 +248,11 @@ Handle<JSFunction> TypeFeedbackOracle::GetCallTarget(Call* expr) { |
} |
+Handle<JSFunction> TypeFeedbackOracle::GetCallNewTarget(CallNew* expr) { |
+ return Handle<JSFunction>::cast(GetInfo(expr->id())); |
+} |
+ |
+ |
bool TypeFeedbackOracle::LoadIsBuiltin(Property* expr, Builtins::Name id) { |
return *GetInfo(expr->id()) == |
isolate_->builtins()->builtin(id); |