summaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-07 01:55:49 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-07 01:55:49 +0000
commit777c515394e676ceb2406984d6321c6aa78bd5d0 (patch)
tree7ab76111168396659b37399467b30967769e1abc /libgo/go
parent564f6ee68f9e1c48abeb619d22353bdb4145527e (diff)
downloadgcc-777c515394e676ceb2406984d6321c6aa78bd5d0.tar.gz
libgo: Add back tests of syscall time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go')
-rw-r--r--libgo/go/runtime/export_test.go7
-rw-r--r--libgo/go/runtime/proc_test.go4
2 files changed, 2 insertions, 9 deletions
diff --git a/libgo/go/runtime/export_test.go b/libgo/go/runtime/export_test.go
index eb7a4454742..c603e1b0d79 100644
--- a/libgo/go/runtime/export_test.go
+++ b/libgo/go/runtime/export_test.go
@@ -18,11 +18,8 @@ var F64toint = f64toint
func entersyscall()
func exitsyscall()
-func LockedOSThread() bool
-
-/* Useless for gccgo.
+func golockedOSThread() bool
var Entersyscall = entersyscall
var Exitsyscall = exitsyscall
-
-*/
+var LockedOSThread = golockedOSThread
diff --git a/libgo/go/runtime/proc_test.go b/libgo/go/runtime/proc_test.go
index 1d20a58a420..32111080a54 100644
--- a/libgo/go/runtime/proc_test.go
+++ b/libgo/go/runtime/proc_test.go
@@ -74,8 +74,6 @@ func BenchmarkStackGrowth(b *testing.B) {
}
}
-/* These benchmarks are meaningless for gccgo.
-
func BenchmarkSyscall(b *testing.B) {
const CallsPerSched = 1000
procs := runtime.GOMAXPROCS(-1)
@@ -125,5 +123,3 @@ func BenchmarkSyscallWork(b *testing.B) {
<-c
}
}
-
-*/