Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index e6995018dbb4e7707ffef9b09ae15fd22a872652..874f984ff6bc61a4bcb470b097e67a44795171fd 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -573,6 +573,12 @@ bool Call::IsUsingCallFeedbackSlot(Isolate* isolate) const { |
} |
+FeedbackVectorRequirements Call::ComputeFeedbackRequirements(Isolate* isolate) { |
+ int ic_slots = IsUsingCallFeedbackSlot(isolate) ? 1 : 0; |
+ return FeedbackVectorRequirements(0, ic_slots); |
+} |
+ |
+ |
Call::CallType Call::GetCallType(Isolate* isolate) const { |
VariableProxy* proxy = expression()->AsVariableProxy(); |
if (proxy != NULL) { |