Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 3ca1449409466af29bca87c184efa14b6c381a4b..20881bd5a23db8239fbebf16e84d5ff05c3a0ae0 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -575,11 +575,6 @@ bool FunctionDeclaration::IsInlineable() const { |
// once we use the common type field in the AST consistently. |
-void ForInStatement::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
- for_in_type_ = static_cast<ForInType>(oracle->ForInType(this)); |
-} |
- |
- |
void Expression::RecordToBooleanTypeFeedback(TypeFeedbackOracle* oracle) { |
to_boolean_types_ = oracle->ToBooleanTypes(test_id()); |
} |
@@ -645,31 +640,6 @@ void Assignment::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
} |
-void CountOperation::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
- Zone* zone) { |
- TypeFeedbackId id = CountStoreFeedbackId(); |
- is_monomorphic_ = oracle->StoreIsMonomorphicNormal(id); |
- receiver_types_.Clear(); |
- if (is_monomorphic_) { |
- // Record receiver type for monomorphic keyed stores. |
- receiver_types_.Add( |
- oracle->StoreMonomorphicReceiverType(id), zone); |
- } else if (oracle->StoreIsKeyedPolymorphic(id)) { |
- receiver_types_.Reserve(kMaxKeyedPolymorphism, zone); |
- oracle->CollectKeyedReceiverTypes(id, &receiver_types_); |
- } else { |
- oracle->CollectPolymorphicStoreReceiverTypes(id, &receiver_types_); |
- } |
- store_mode_ = oracle->GetStoreMode(id); |
- type_ = oracle->IncrementType(this); |
-} |
- |
- |
-void CaseClause::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
- compare_type_ = oracle->ClauseType(CompareId()); |
-} |
- |
- |
bool Call::ComputeTarget(Handle<Map> type, Handle<String> name) { |
// If there is an interceptor, we can't compute the target for a direct call. |
if (type->has_named_interceptor()) return false; |