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 fd119e8e3464a1587e9ad8e525b4cde2860b5503..9f8a2d4dbea75c2ecb02e017bdb7cce069ba31b8 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -38,7 +38,7 @@ |
Register other(reg.index() + 1); |
Register wide(128); |
RegisterList reg_list; |
- RegisterList single(0, 1), pair(0, 2), triple(0, 3); |
+ RegisterList pair(0, 2), triple(0, 3); |
// Emit argument creation operations. |
builder.CreateArguments(CreateArgumentsType::kMappedArguments) |
@@ -144,14 +144,8 @@ |
// Call operations. |
builder.Call(reg, reg_list, 1, Call::GLOBAL_CALL) |
- .Call(reg, single, 1, Call::GLOBAL_CALL) |
- .Call(reg, pair, 1, Call::GLOBAL_CALL) |
- .Call(reg, triple, 1, Call::GLOBAL_CALL) |
.Call(reg, reg_list, 1, Call::NAMED_PROPERTY_CALL, |
TailCallMode::kDisallow) |
- .Call(reg, single, 1, Call::NAMED_PROPERTY_CALL) |
- .Call(reg, pair, 1, Call::NAMED_PROPERTY_CALL) |
- .Call(reg, triple, 1, Call::NAMED_PROPERTY_CALL) |
.Call(reg, reg_list, 1, Call::GLOBAL_CALL, TailCallMode::kAllow) |
.CallRuntime(Runtime::kIsArray, reg) |
.CallRuntimeForPair(Runtime::kLoadLookupSlotForCall, reg_list, pair) |