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 9b3e7a8885cd71ea34216ccecfe23ba22312fa3d..0fac66be8af3671eedce99da87a87ffbc5553e06 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)); |
@@ -337,7 +337,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 |