Index: src/wasm/ast-decoder.cc |
diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc |
index 320b086a8c8865dc4d9d468689bd661e4a89ffc7..5e0d76b1919eba122b096c97907451068bc1334b 100644 |
--- a/src/wasm/ast-decoder.cc |
+++ b/src/wasm/ast-decoder.cc |
@@ -524,7 +524,7 @@ class WasmFullDecoder : public WasmDecoder { |
// Initialize local variables. |
uint32_t index = 0; |
while (index < sig_->parameter_count()) { |
- ssa_env->locals[index] = builder_->Param(index, local_type_vec_[index]); |
+ ssa_env->locals[index] = builder_->Param(index); |
index++; |
} |
while (index < local_type_vec_.size()) { |