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 98ba30dbb3738e32e9dc5c4f98d77cd0d63a74f4..d72743eb5f7d39a438e491e21574f65906473c94 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -107,7 +107,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.CreateBlockContext(factory->NewScopeInfo(1)); |
builder.CreateCatchContext(reg, name, factory->NewScopeInfo(1)); |
builder.CreateFunctionContext(1); |
- builder.CreateWithContext(reg); |
+ builder.CreateWithContext(reg, factory->NewScopeInfo(1)); |
// Emit literal creation operations. |
builder.CreateRegExpLiteral(factory->NewStringFromStaticChars("a"), 0, 0) |