Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
index bcd7710cda266242596ef94072a566c0fc8b5273..5fd876c426515f111394396de59ae1ef8a5a9b47 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -289,6 +289,10 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.BinaryOperation(Token::Value::ADD, reg) |
.JumpIfFalse(&start); |
+ // Emit generator operations |
+ builder.SuspendGenerator(reg) |
+ .ResumeGenerator(reg); |
+ |
// Intrinsics handled by the interpreter. |
builder.CallRuntime(Runtime::kInlineIsArray, reg, 1) |
.CallRuntime(Runtime::kInlineIsArray, wide, 1); |