Index: src/compiler/operator-properties.cc |
diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc |
index 0c0a3d803aa511061b9a91dc23e74cad820510f2..7c778cbf33be835bca1ff835c64aae9d0465e858 100644 |
--- a/src/compiler/operator-properties.cc |
+++ b/src/compiler/operator-properties.cc |
@@ -34,6 +34,10 @@ bool OperatorProperties::HasFrameStateInput(const Operator* op) { |
case IrOpcode::kJSStrictEqual: |
return false; |
+ // Generator creation cannot call back into arbitrary JavaScript. |
+ case IrOpcode::kJSCreateGeneratorObject: |
+ return false; |
+ |
// Binary operations |
case IrOpcode::kJSAdd: |
case IrOpcode::kJSSubtract: |