summaryrefslogtreecommitdiff
path: root/deps/v8/src/wasm/wasm-text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/wasm/wasm-text.cc')
-rw-r--r--deps/v8/src/wasm/wasm-text.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/wasm/wasm-text.cc b/deps/v8/src/wasm/wasm-text.cc
index 81c8e41813..1619241332 100644
--- a/deps/v8/src/wasm/wasm-text.cc
+++ b/deps/v8/src/wasm/wasm-text.cc
@@ -134,7 +134,7 @@ void PrintWasmText(const WasmModule* module, const ModuleWireBytes& wire_bytes,
case kExprCallIndirect: {
CallIndirectOperand<Decoder::kNoValidate> operand(&i, i.pc());
DCHECK_EQ(0, operand.table_index);
- os << "call_indirect " << operand.index;
+ os << "call_indirect " << operand.sig_index;
break;
}
case kExprCallFunction: {
@@ -208,6 +208,7 @@ void PrintWasmText(const WasmModule* module, const ModuleWireBytes& wire_bytes,
UNREACHABLE();
break;
}
+ break;
}
// This group is just printed by their internal opcode name, as they