Index: src/wasm/wasm-opcodes.cc |
diff --git a/src/wasm/wasm-opcodes.cc b/src/wasm/wasm-opcodes.cc |
index a08fa8dbe6bc458f6ea0993881ed0f20d6bb9491..da6c1615dce292ee74cfd6166ed900e2a20a6436 100644 |
--- a/src/wasm/wasm-opcodes.cc |
+++ b/src/wasm/wasm-opcodes.cc |
@@ -40,12 +40,12 @@ const char* WasmOpcodes::ShortOpcodeName(WasmOpcode opcode) { |
std::ostream& operator<<(std::ostream& os, const FunctionSig& sig) { |
if (sig.return_count() == 0) os << "v"; |
- for (size_t i = 0; i < sig.return_count(); i++) { |
+ for (size_t i = 0; i < sig.return_count(); ++i) { |
os << WasmOpcodes::ShortNameOf(sig.GetReturn(i)); |
} |
os << "_"; |
if (sig.parameter_count() == 0) os << "v"; |
- for (size_t i = 0; i < sig.parameter_count(); i++) { |
+ for (size_t i = 0; i < sig.parameter_count(); ++i) { |
os << WasmOpcodes::ShortNameOf(sig.GetParam(i)); |
} |
return os; |