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 ffa6ea2f7f57e5754b9fb158293efd97b8faffc2..5c6a713c4f2fa4ee53b042785c5ec8af66272e4b 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -165,8 +165,8 @@ |
builder.Delete(reg, LanguageMode::SLOPPY).Delete(reg, LanguageMode::STRICT); |
// Emit new. |
- builder.New(reg, reg, 0, 1); |
- builder.New(wide, wide, 0, 1); |
+ builder.New(reg, reg, 0); |
+ builder.New(wide, wide, 0); |
// Emit test operator invocations. |
builder.CompareOperation(Token::Value::EQ, reg) |
@@ -456,7 +456,7 @@ |
// 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), 0); |
+ static_cast<size_t>(temps)); |
} |
builder.Return(); |