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 f688da793e72e9f32852c07f7c2542abed129e65..cfdb1ce3d7012fce16516ecb29a25b4c9f7eab26 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -104,6 +104,9 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
false); |
builder.CreateClosure(shared_info, NOT_TENURED); |
+ // Emit create context operation. |
+ builder.CreateFunctionContext(1); |
+ |
// Emit literal creation operations. |
builder.CreateRegExpLiteral(factory->NewStringFromStaticChars("a"), 0, 0) |
.CreateArrayLiteral(factory->NewFixedArray(1), 0, 0) |