Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1756)

Unified Diff: test/unittests/interpreter/bytecode-array-builder-unittest.cc

Issue 2709533002: Revert of [interpreter] Create custom call opcodes for specific argument counts (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/RegExpLiterals.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/RegExpLiterals.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698