fix(riscv64): accept the g spelling of the goroutine register

Assisted-by: GLM 5.3
This commit is contained in:
2026-09-20 00:38:24 +02:00
parent 187e4856d3
commit f15ff66fb1
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func riscvRegNum(name string) int {
return 25
case "X26", "S10":
return 26
case "X27", "S11":
case "X27", "S11", "g":
return 27
case "X28", "T3":
return 28