diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-02 00:33:03 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-02 00:33:03 +0000 |
commit | b7e3290be8554a06bf2cabbf3c8157ce282a5bbf (patch) | |
tree | 76de6a1a69229bc74191b8611aa22360b6c0369f /libgo | |
parent | 3d3821cb4fe90e591a43ff135b86d3d9116cbb64 (diff) |
reflect: enable allocation tests
They were disabled due to the lack of escape analysis. Now that
we have escape analysis, unskip these tests.
Reviewed-on: https://go-review.googlesource.com/86248
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/go/reflect/all_test.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libgo/go/reflect/all_test.go b/libgo/go/reflect/all_test.go index 86e738555f8..3070aac0fe0 100644 --- a/libgo/go/reflect/all_test.go +++ b/libgo/go/reflect/all_test.go @@ -6162,9 +6162,6 @@ func TestPtrToMethods(t *testing.T) { } func TestMapAlloc(t *testing.T) { - if runtime.Compiler == "gccgo" { - t.Skip("skipping on gccgo until we have escape analysis") - } m := ValueOf(make(map[int]int, 10)) k := ValueOf(5) v := ValueOf(7) @@ -6195,9 +6192,6 @@ func TestMapAlloc(t *testing.T) { } func TestChanAlloc(t *testing.T) { - if runtime.Compiler == "gccgo" { - t.Skip("skipping on gccgo until we have escape analysis") - } // Note: for a chan int, the return Value must be allocated, so we // use a chan *int instead. c := ValueOf(make(chan *int, 1)) |