]> git.proxmox.com Git - rustc.git/blame - src/binaryen/test/unreachable-import_wasm-only.fromasm.no-opts
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / unreachable-import_wasm-only.fromasm.no-opts
CommitLineData
abe05a73
XL
1(module
2 (type $FUNCSIG$ii (func (param i32) (result i32)))
3 (type $FUNCSIG$viii (func (param i32 i32 i32)))
4 (import "env" "DYNAMICTOP_PTR" (global $DYNAMICTOP_PTR$asm2wasm$import i32))
5 (import "env" "tempDoublePtr" (global $tempDoublePtr$asm2wasm$import i32))
6 (import "env" "ABORT" (global $ABORT$asm2wasm$import i32))
7 (import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32))
8 (import "env" "STACK_MAX" (global $STACK_MAX$asm2wasm$import i32))
9 (import "env" "___async" (global $___async$asm2wasm$import i32))
10 (import "env" "___async_unwind" (global $___async_unwind$asm2wasm$import i32))
11 (import "env" "___async_retval" (global $___async_retval$asm2wasm$import i32))
12 (import "env" "___async_cur_frame" (global $___async_cur_frame$asm2wasm$import i32))
13 (import "global" "NaN" (global $nan$asm2wasm$import f64))
14 (import "global" "Infinity" (global $inf$asm2wasm$import f64))
15 (import "env" "___cxa_allocate_exception" (func $___cxa_allocate_exception (param i32) (result i32)))
16 (import "env" "___cxa_throw" (func $___cxa_throw (param i32 i32 i32)))
17 (import "env" "memory" (memory $0 256 256))
18 (import "env" "table" (table 0 0 anyfunc))
19 (import "env" "memoryBase" (global $memoryBase i32))
20 (import "env" "tableBase" (global $tableBase i32))
21 (global $DYNAMICTOP_PTR (mut i32) (get_global $DYNAMICTOP_PTR$asm2wasm$import))
22 (global $tempDoublePtr (mut i32) (get_global $tempDoublePtr$asm2wasm$import))
23 (global $ABORT (mut i32) (get_global $ABORT$asm2wasm$import))
24 (global $STACKTOP (mut i32) (get_global $STACKTOP$asm2wasm$import))
25 (global $STACK_MAX (mut i32) (get_global $STACK_MAX$asm2wasm$import))
26 (global $___async (mut i32) (get_global $___async$asm2wasm$import))
27 (global $___async_unwind (mut i32) (get_global $___async_unwind$asm2wasm$import))
28 (global $___async_retval (mut i32) (get_global $___async_retval$asm2wasm$import))
29 (global $___async_cur_frame (mut i32) (get_global $___async_cur_frame$asm2wasm$import))
30 (global $__THREW__ (mut i32) (i32.const 0))
31 (global $threwValue (mut i32) (i32.const 0))
32 (global $setjmpId (mut i32) (i32.const 0))
33 (global $undef (mut i32) (i32.const 0))
34 (global $nan (mut f64) (get_global $nan$asm2wasm$import))
35 (global $inf (mut f64) (get_global $inf$asm2wasm$import))
36 (global $tempInt (mut i32) (i32.const 0))
37 (global $tempBigInt (mut i32) (i32.const 0))
38 (global $tempBigIntP (mut i32) (i32.const 0))
39 (global $tempBigIntS (mut i32) (i32.const 0))
40 (global $tempBigIntR (mut f64) (f64.const 0))
41 (global $tempBigIntI (mut i32) (i32.const 0))
42 (global $tempBigIntD (mut i32) (i32.const 0))
43 (global $tempValue (mut i32) (i32.const 0))
44 (global $tempDouble (mut f64) (f64.const 0))
45 (global $tempRet0 (mut i32) (i32.const 0))
46 (global $tempFloat (mut f32) (f32.const 0))
47 (global $f0 (mut f32) (f32.const 0))
48 (export "__ZN10WasmAssertC2Ev__async_cb" (func $__ZN10WasmAssertC2Ev__async_cb))
49 (func $__ZN10WasmAssertC2Ev__async_cb (; 2 ;) (param $$0 i32)
50 (block $switch
51 (block $switch-default
52 (block $switch-case
53 (br_table $switch-case $switch-default
54 (i32.sub
55 (i32.const 0)
56 (i32.const 0)
57 )
58 )
59 )
60 (block
61 (i32.store
62 (i32.const 12)
63 (i32.const 26)
64 )
65 (return)
66 (br $switch)
67 )
68 )
69 (block
70 (set_local $$0
71 (call $___cxa_allocate_exception
72 (i32.const 4)
73 )
74 )
75 (i32.store
76 (get_local $$0)
77 (i32.const 1)
78 )
79 (call $___cxa_throw
80 (get_local $$0)
81 (i32.const 1280)
82 (i32.const 0)
83 )
84 )
85 )
86 )
87)