summaryrefslogtreecommitdiff
path: root/test/dot_s/asm_const.s
blob: a58f16a48e1fa2da494d9956a50780845c026c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	.text
	.file	"/tmp/tmpkxUaTH/a.out.bc"
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
# BB#0:
	i32.const	$push0=, .str
	call    	emscripten_asm_const@FUNCTION, $pop0
	i32.const	$push1=, 0
	return  	$pop1
	.endfunc
.Lfunc_end0:
	.size	main, .Lfunc_end0-main

	.type	.str,@object            # @.str
	.data
.str:
	.asciz	"{ Module.print(\"hello, world!\"); }"
	.size	.str, 35


	.imports
	.import emscripten_asm_const "" emscripten_asm_const (param i32)