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

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

Issue 2382273002: [Interpreter]: Add kRegList operand type for register list operands. (Closed)
Patch Set: Created 4 years, 3 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..5c6f60d2446ee197b8b8853671eb891bb3374d7f 100644
--- a/test/unittests/interpreter/bytecode-decoder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-decoder-unittest.cc
@@ -37,10 +37,14 @@ 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"},
mythria 2016/10/03 10:29:34 May be one more test case with Reg count of 0 for
rmcilroy 2016/10/05 15:48:45 Good point - done.
{{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