Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index 1e2c15882b2f52a471574e460bb2b91b1e60027b..1b894d7cc1e384b5d6ff960c22dafd54ff9620bb 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -904,6 +904,12 @@ const Operator* JSOperatorBuilder::DeleteProperty() { |
3, 1, 1, 1, 1, 2); // counts |
} |
+const Operator* JSOperatorBuilder::CreateGeneratorObject() { |
+ return new (zone()) Operator( // -- |
+ IrOpcode::kJSCreateGeneratorObject, Operator::kEliminatable, // opcode |
+ "JSCreateGeneratorObject", // name |
+ 2, 1, 1, 1, 1, 0); // counts |
+} |
const Operator* JSOperatorBuilder::LoadGlobal(const Handle<Name>& name, |
const VectorSlotPair& feedback, |