aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/asm_tinygowasm.S
blob: 3278a7f69d42e471c09a1bde03a0c53940a145ec (plain)
1
2
3
4
5
6
7
8
9
10
.globaltype __stack_pointer, i32

.global  tinygo_getCurrentStackPointer
.hidden  tinygo_getCurrentStackPointer
.type    tinygo_getCurrentStackPointer,@function
tinygo_getCurrentStackPointer: // func getCurrentStackPointer() uintptr
    .functype tinygo_getCurrentStackPointer() -> (i32)
    global.get __stack_pointer
    return
    end_function