Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index 2b1df08bf506285b999023483fc62e4fda2ecf30..2659a7ce723bf81425cfdd0def706cf35ec93a26 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -705,6 +705,17 @@ const Operator* JSOperatorBuilder::StoreDataPropertyInLiteral( |
parameters); // parameter |
} |
+const Operator* JSOperatorBuilder::CollectTypeProfile( |
+ const VectorSlotPair& feedback) { |
+ FeedbackParameter parameters(feedback); |
+ return new (zone()) Operator1<FeedbackParameter>( // -- |
+ IrOpcode::kJSCollectTypeProfile, |
+ Operator::kNoThrow, // opcode |
+ "JSCollectTypeProfile", // name |
+ 2, 1, 1, 0, 1, 0, // counts |
+ parameters); // parameter |
+} |
+ |
const Operator* JSOperatorBuilder::ToBoolean(ToBooleanHints hints) { |
// TODO(turbofan): Cache most important versions of this operator. |
return new (zone()) Operator1<ToBooleanHints>( //-- |