Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index ac81e751afb31f1ea89e8e47ac1cd68c6b198e2b..fff9db1ec08cf4a28ba43f4b8efaf6d9e07e6cc8 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -608,29 +608,6 @@ bool Call::ComputeGlobalTarget(Handle<GlobalObject> global, |
} |
-void CallNew::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
- FeedbackVectorSlot allocation_site_feedback_slot = |
- FLAG_pretenuring_call_new ? AllocationSiteFeedbackSlot() |
- : CallNewFeedbackSlot(); |
- allocation_site_ = |
- oracle->GetCallNewAllocationSite(allocation_site_feedback_slot); |
- is_monomorphic_ = oracle->CallNewIsMonomorphic(CallNewFeedbackSlot()); |
- if (is_monomorphic_) { |
- target_ = oracle->GetCallNewTarget(CallNewFeedbackSlot()); |
- } |
-} |
- |
- |
-void ObjectLiteral::Property::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
- DCHECK(!is_computed_name()); |
- TypeFeedbackId id = key()->AsLiteral()->LiteralFeedbackId(); |
- SmallMapList maps; |
- oracle->CollectReceiverTypes(id, &maps); |
- receiver_type_ = maps.length() == 1 ? maps.at(0) |
- : Handle<Map>::null(); |
-} |
- |
- |
// ---------------------------------------------------------------------------- |
// Implementation of AstVisitor |