diff options
Diffstat (limited to 'src/wasm-generate-names.c')
-rw-r--r-- | src/wasm-generate-names.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wasm-generate-names.c b/src/wasm-generate-names.c index 8cc95009..473bdf5c 100644 --- a/src/wasm-generate-names.c +++ b/src/wasm-generate-names.c @@ -109,9 +109,7 @@ static WasmResult begin_block_expr(WasmExpr* expr, void* user_data) { static WasmResult begin_loop_expr(WasmExpr* expr, void* user_data) { Context* ctx = user_data; maybe_generate_name(ctx->allocator, "$L", ctx->label_count++, - &expr->loop.outer); - maybe_generate_name(ctx->allocator, "$L", ctx->label_count++, - &expr->loop.inner); + &expr->loop.label); return WASM_OK; } |