diff options
Diffstat (limited to 'src/wasm-binary-writer-spec.c')
-rw-r--r-- | src/wasm-binary-writer-spec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wasm-binary-writer-spec.c b/src/wasm-binary-writer-spec.c index b68e953b..003decc7 100644 --- a/src/wasm-binary-writer-spec.c +++ b/src/wasm-binary-writer-spec.c @@ -470,9 +470,6 @@ static void write_commands(WasmWriteSpecContext* ctx, WasmScript* script) { CHECK_ALLOC_NULL(caller); CHECK_ALLOC(wasm_append_type_value( script->allocator, &caller->locals.types, &result_type)); - CHECK_ALLOC(wasm_append_type_value(script->allocator, - &caller->params_and_locals.types, - &result_type)); expr_ptr = wasm_append_expr_ptr(script->allocator, &caller->exprs); CHECK_ALLOC_NULL(expr_ptr); *expr_ptr = create_set_local_expr( |