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

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

Issue 2382273002: [Interpreter]: Add kRegList operand type for register list operands. (Closed)
Patch Set: Address comments Created 4 years, 2 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 | « src/interpreter/bytecodes.h ('k') | test/unittests/interpreter/interpreter-assembler-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/interpreter/bytecode-decoder-unittest.cc
diff --git a/test/unittests/interpreter/bytecode-decoder-unittest.cc b/test/unittests/interpreter/bytecode-decoder-unittest.cc
index 7d61f6a1b36d433495b13f73989dd620c45cce5e..1b0af73e0529b0b792a0cc4b11d58611d4b17339 100644
--- a/test/unittests/interpreter/bytecode-decoder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-decoder-unittest.cc
@@ -37,10 +37,18 @@ TEST(BytecodeDecoder, DecodeBytecodeAndOperands) {
"LdaSmi.ExtraWide [-100000]"},
{{B(Star), R8(5)}, 2, 0, " Star r5"},
{{B(Wide), B(Star), R16(136)}, 4, 0, " Star.Wide r136"},
- {{B(Wide), B(Call), R16(134), R16(135), U16(2), U16(177)},
+ {{B(Wide), B(Call), R16(134), R16(135), U16(10), U16(177)},
10,
0,
- "Call.Wide r134, r135, #2, [177]"},
+ "Call.Wide r134, r135-r144, [177]"},
+ {{B(ForInPrepare), R8(10), R8(11)},
+ 3,
+ 0,
+ " ForInPrepare r10, r11-r13"},
+ {{B(CallRuntime), U16(134), R8(0), U8(0)},
+ 5,
+ 0,
+ " CallRuntime [134], r0-r0"},
{{B(Ldar),
static_cast<uint8_t>(Register::FromParameterIndex(2, 3).ToOperand())},
2,
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | test/unittests/interpreter/interpreter-assembler-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698