Skip to content

Commit 9d3a5d7

Browse files
committed
WASM_X86: Fix exit (jump to exit label instead of calling it)
1 parent 3c67711 commit 9d3a5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libasr/codegen/wasm_to_x86.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class X86Visitor : public WASMDecoder<X86Visitor>,
7272
break;
7373
}
7474
case 6: { // set_exit_code
75-
m_a.asm_call_label("exit");
75+
m_a.asm_jmp_label("exit");
7676
break;
7777
}
7878
default: {

0 commit comments

Comments
 (0)