packages feed

binaryen-0.0.6.0: binaryen/test/lld/em_asm_O0.wat

(module
 (type $none_=>_none (func))
 (type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
 (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
 (import "env" "emscripten_asm_const_int" (func $emscripten_asm_const_int (param i32 i32 i32) (result i32)))
 (memory $0 2)
 (data (i32.const 568) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\00")
 (table $0 1 1 funcref)
 (global $global$0 (mut i32) (i32.const 66192))
 (export "memory" (memory $0))
 (export "__wasm_call_ctors" (func $__wasm_call_ctors))
 (export "main" (func $main))
 (func $__wasm_call_ctors
 )
 (func $main (param $0 i32) (param $1 i32) (result i32)
  (local $2 i32)
  (local $3 i32)
  (global.set $global$0
   (local.tee $2
    (i32.sub
     (global.get $global$0)
     (i32.const 32)
    )
   )
  )
  (i32.store8 offset=31
   (local.get $2)
   (i32.const 0)
  )
  (drop
   (call $emscripten_asm_const_int
    (i32.const 568)
    (i32.add
     (local.get $2)
     (i32.const 31)
    )
    (i32.const 0)
   )
  )
  (i32.store8 offset=30
   (local.get $2)
   (i32.const 0)
  )
  (i32.store16 offset=28 align=1
   (local.get $2)
   (i32.const 26985)
  )
  (i64.store offset=16
   (local.get $2)
   (i64.const 128849018900)
  )
  (local.set $3
   (call $emscripten_asm_const_int
    (i32.const 601)
    (i32.add
     (local.get $2)
     (i32.const 28)
    )
    (i32.add
     (local.get $2)
     (i32.const 16)
    )
   )
  )
  (i32.store16 offset=26 align=1
   (local.get $2)
   (i32.const 105)
  )
  (i32.store
   (local.get $2)
   (i32.const 42)
  )
  (drop
   (call $emscripten_asm_const_int
    (i32.const 621)
    (i32.add
     (local.get $2)
     (i32.const 26)
    )
    (local.get $2)
   )
  )
  (global.set $global$0
   (i32.add
    (local.get $2)
    (i32.const 32)
   )
  )
  (local.get $3)
 )
 ;; custom section "producers", size 112
)