Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 811193b49bde08c34da5f54648a90b0542c4ab89..9176993a18c4aa8cce7d29ae795b3d1610b116a5 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -823,6 +823,14 @@ void Call::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
} |
+void CallNew::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
+ is_monomorphic_ = oracle->CallNewIsMonomorphic(this); |
+ if (is_monomorphic_) { |
+ target_ = oracle->GetCallNewTarget(this); |
+ } |
+} |
+ |
+ |
void CompareOperation::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
TypeInfo info = oracle->CompareType(this); |
if (info.IsSmi()) { |