Last runtime use was removed in https://golang.org/cl/
133700043,
September 2014.
Replace plan9 syscall uses with plan9-specific variable.
Change-Id: Ifb910c021c1419a7c782959f90b054ed600d9e19
Reviewed-on: https://go-review.googlesource.com/55450
Reviewed-by: Martin Möhrmann <moehrmann@google.com>
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
const _TracebackMaxFrames = 100
var (
- emptystring string
- allglen uintptr
- allm *m
- allp [_MaxGomaxprocs + 1]*p
- gomaxprocs int32
- ncpu int32
- forcegc forcegcstate
- sched schedt
- newprocs int32
+ allglen uintptr
+ allm *m
+ allp [_MaxGomaxprocs + 1]*p
+ gomaxprocs int32
+ ncpu int32
+ forcegc forcegcstate
+ sched schedt
+ newprocs int32
// Information about what cpu features are available.
// Set on startup in asm_{386,amd64,amd64p32}.s.
JMP copyresult3
ok3:
- LEAL runtime·emptystring(SB), SI
+ LEAL ·emptystring(SB), SI
copyresult3:
LEAL err+24(FP), DI
JMP copyresult4
ok4:
- LEAL runtime·emptystring(SB), SI
+ LEAL ·emptystring(SB), SI
copyresult4:
LEAL err+36(FP), DI
JMP copyresult6
ok6:
- LEAL runtime·emptystring(SB), SI
+ LEAL ·emptystring(SB), SI
copyresult6:
LEAL err+28(FP), DI
JMP copyresult3
ok3:
- LEAQ runtime·emptystring(SB), SI
+ LEAQ ·emptystring(SB), SI
copyresult3:
LEAQ err+48(FP), DI
JMP copyresult4
ok4:
- LEAQ runtime·emptystring(SB), SI
+ LEAQ ·emptystring(SB), SI
copyresult4:
LEAQ err+72(FP), DI
JMP copyresult6
ok6:
- LEAQ runtime·emptystring(SB), SI
+ LEAQ ·emptystring(SB), SI
copyresult6:
LEAQ err+40(FP), DI
// System call support for plan9 on arm
TEXT sysresult<>(SB),NOSPLIT,$12
- MOVW $runtime·emptystring+0(SB), R2
+ MOVW $·emptystring+0(SB), R2
CMP $-1, R0
B.NE ok
MOVW R1, save-4(SP)
return e == EBUSY || e == ETIMEDOUT
}
+var emptystring string
+
// A Note is a string describing a process note.
// It implements the os.Signal interface.
type Note string