github.com/xg0n/routine@v0.0.0-20240119033701-c364deb94aee/g/asm_wasm.s (about) 1 // Copyright 2021-2024 TimAndy. All rights reserved. 2 // Licensed under the Apache-2.0 license that can be found in the LICENSE file. 3 4 #include "funcdata.h" 5 #include "go_asm.h" 6 #include "textflag.h" 7 8 TEXT ·getgp(SB), NOSPLIT, $0-8 9 MOVD g, R8 10 MOVD R8, ret+0(FP) 11 RET