Commit 8f9bb9b8 authored by clemensh's avatar clemensh Committed by Commit bot

[wasm] Add disassembly for select instruction

This was somehow missing so far. With this CL, we can disassembly all
functions on AngryBots.

R=titzer@chromium.org, rossberg@chromium.org
BUG=chromium:659715

Review-Url: https://codereview.chromium.org/2552643002
Cr-Commit-Position: refs/heads/master@{#41476}
parent d4208da3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment