LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/
136260043
return runtime·sched.mcount;
}
-void
-runtime·badreflectcall(void) // called from assembly
-{
- runtime·panicstring("runtime: arg size to reflect.call more than 1GB");
-}
-
static struct {
uint32 lock;
int32 hz;
gothrow("runtime: mcall function returned")
}
+func badreflectcall() {
+ panic("runtime: arg size to reflect.call more than 1GB")
+}
+
func lockedOSThread() bool {
gp := getg()
return gp.lockedm != nil && gp.m.lockedg != nil