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 2566ac1e27b054b59a313348fa2313bc533bc5c2..30abb96fbd9af3abafa467a72f301a91cc8f9286 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -116,7 +116,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)); |
@@ -338,7 +338,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 |