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

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

Issue 2712943002: [interpreter] Teach --print-bytecode the names of runtime functions and intrinsics. (Closed)
Patch Set: Make use of ToRuntimeId. 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 | « src/interpreter/bytecode-decoder.cc ('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-decoder-unittest.cc
diff --git a/test/unittests/interpreter/bytecode-decoder-unittest.cc b/test/unittests/interpreter/bytecode-decoder-unittest.cc
index 1b0af73e0529b0b792a0cc4b11d58611d4b17339..14972259da0c8daa19b3985a60177d0a93f04c3e 100644
--- a/test/unittests/interpreter/bytecode-decoder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-decoder-unittest.cc
@@ -7,6 +7,7 @@
#include "src/v8.h"
#include "src/interpreter/bytecode-decoder.h"
+#include "src/runtime/runtime.h"
#include "test/unittests/interpreter/bytecode-utils.h"
#include "test/unittests/test-utils.h"
@@ -45,10 +46,10 @@ TEST(BytecodeDecoder, DecodeBytecodeAndOperands) {
3,
0,
" ForInPrepare r10, r11-r13"},
- {{B(CallRuntime), U16(134), R8(0), U8(0)},
+ {{B(CallRuntime), U16(Runtime::FunctionId::kIsDate), R8(0), U8(0)},
5,
0,
- " CallRuntime [134], r0-r0"},
+ " CallRuntime [IsDate], r0-r0"},
{{B(Ldar),
static_cast<uint8_t>(Register::FromParameterIndex(2, 3).ToOperand())},
2,
« no previous file with comments | « src/interpreter/bytecode-decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698