Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index 5546de1de152820d2cc7e44117fe55e27ec1d5d4..d08d7095f6a698bdd50592a49e626a717bde4cec 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -153,7 +153,7 @@ class LocalDeclEncoder { |
size_t Emit(byte* buffer) const { |
size_t pos = 0; |
pos = WriteUint32v(buffer, pos, static_cast<uint32_t>(local_decls.size())); |
- for (size_t i = 0; i < local_decls.size(); i++) { |
+ for (size_t i = 0; i < local_decls.size(); ++i) { |
pos = WriteUint32v(buffer, pos, local_decls[i].first); |
buffer[pos++] = WasmOpcodes::LocalTypeCodeFor(local_decls[i].second); |
} |