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 d7bdbb33725b20c13e7acdfa1798c9ddb4c8ca02..28813b8139d3ec094f7d3f6187d9ba518e3d0cec 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -115,7 +115,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.LoadLookupGlobalSlot(name, TypeofMode::INSIDE_TYPEOF, 1, 0); |
// Emit closure operations. |
- builder.CreateClosure(0, NOT_TENURED); |
+ builder.CreateClosure(0, 1, NOT_TENURED); |
// Emit create context operation. |
builder.CreateBlockContext(factory->NewScopeInfo(1)); |
@@ -326,7 +326,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.StoreLookupSlot(wide_name, LanguageMode::STRICT); |
// CreateClosureWide |
- builder.CreateClosure(1000, NOT_TENURED); |
+ builder.CreateClosure(1000, 321, NOT_TENURED); |
// Emit wide variant of literal creation operations. |
builder.CreateRegExpLiteral(factory->NewStringFromStaticChars("wide_literal"), |