github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/asm_tinygowasm.S (about) 1 .globaltype __stack_pointer, i32 2 3 .global tinygo_getCurrentStackPointer 4 .hidden tinygo_getCurrentStackPointer 5 .type tinygo_getCurrentStackPointer,@function 6 tinygo_getCurrentStackPointer: // func getCurrentStackPointer() uintptr 7 .functype tinygo_getCurrentStackPointer() -> (i32) 8 global.get __stack_pointer 9 return 10 end_function