summaryrefslogtreecommitdiff
path: root/test/noffi_f32.fromasm.imprecise
blob: 4c86c32b5be236f5642ef809556fb159c124ec27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(module
 (type $FUNCSIG$ff (func (param f32) (result f32)))
 (import "env" "_importf" (func $importf (param f32) (result f32)))
 (export "main" (func $main))
 (export "exportf" (func $exportf))
 (func $exportf (; 1 ;) (; has Stack IR ;) (param $0 f32) (result f32)
  (f32.add
   (local.get $0)
   (f32.const 1)
  )
 )
 (func $main (; 2 ;) (; has Stack IR ;) (result i32)
  (drop
   (call $importf
    (f32.const 3.4000000953674316)
   )
  )
  (i32.const 0)
 )
)