Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 042371f72894db8903bfb9ad5aef03e7e4dab26e..da86a1162d7bc726ab7c4ec5f8f94ff11ca7f26d 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -696,8 +696,7 @@ Handle<JSObject> Call::GetPrototypeForPrimitiveCheck( |
} |
-void Call::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
- ContextualMode contextual_mode) { |
+void Call::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
is_monomorphic_ = oracle->CallIsMonomorphic(CallFeedbackId()); |
Property* property = expression()->AsProperty(); |
if (property == NULL) { |
@@ -712,7 +711,7 @@ void Call::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
receiver_types_.Clear(); |
if (check_type_ == RECEIVER_MAP_CHECK) { |
oracle->CallReceiverTypes(CallFeedbackId(), |
- name, arguments()->length(), contextual_mode, &receiver_types_); |
+ name, arguments()->length(), &receiver_types_); |
is_monomorphic_ = is_monomorphic_ && receiver_types_.length() > 0; |
} else { |
holder_ = GetPrototypeForPrimitiveCheck(check_type_, oracle->isolate()); |