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

Unified Diff: src/wasm/wasm-text.cc

Issue 2552643002: [wasm] Add disassembly for select instruction (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-text.cc
diff --git a/src/wasm/wasm-text.cc b/src/wasm/wasm-text.cc
index 36a46448d7ddef7eb31a620ae78e860fec8c345c..633bff2c7dfbaa439dbd114e1058d09faf3fea7c 100644
--- a/src/wasm/wasm-text.cc
+++ b/src/wasm/wasm-text.cc
@@ -93,6 +93,7 @@ const char *GetOpName(WasmOpcode opcode) {
CASE_OP(Throw, "throw")
CASE_OP(Catch, "catch")
CASE_OP(Drop, "drop")
+ CASE_OP(Select, "select")
CASE_ALL_OP(LoadMem, "load")
CASE_SIGN_OP(INT, LoadMem8, "load8")
CASE_SIGN_OP(INT, LoadMem16, "load16")
@@ -283,6 +284,7 @@ void wasm::PrintWasmText(
case kExprMemorySize:
case kExprGrowMemory:
case kExprDrop:
+ case kExprSelect:
case kExprThrow:
os << GetOpName(opcode);
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698