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 f025e405d202811965ba1417f584f8a05a7b5596..be38891b2f17d815cc9788de55a6f3c712eefd36 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -171,8 +171,8 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.Delete(reg, LanguageMode::SLOPPY).Delete(reg, LanguageMode::STRICT); |
// Emit new. |
- builder.New(reg, reg, 0); |
- builder.New(wide, wide, 0); |
+ builder.New(reg, reg, 0, 1); |
+ builder.New(wide, wide, 0, 1); |
// Emit test operator invocations. |
builder.CompareOperation(Token::Value::EQ, reg, 1) |
@@ -463,7 +463,7 @@ TEST_F(BytecodeArrayBuilderTest, FrameSizesLookGood) { |
// Ensure temporaries are used so not optimized away by the |
// register optimizer. |
builder.New(Register(locals + contexts), Register(locals + contexts), |
- static_cast<size_t>(temps)); |
+ static_cast<size_t>(temps), 0); |
} |
builder.Return(); |