runtime: uncomment check for gchelper on g0 stack
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 22:12:50 +0000 (22:12 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 22:12:50 +0000 (22:12 +0000)
    Now that systemstack changes to the g0 stack, this check passes.

    Reviewed-on: https://go-review.googlesource.com/46460

From-SVN: r249578

gcc/go/gofrontend/MERGE
libgo/go/runtime/mgc.go

index 3f42df6305698f41426ee106317f70825bf6e6d3..b6037a68150f450939c681b5cc1b23a822fd294f 100644 (file)
@@ -1,4 +1,4 @@
-c5aa42107d116c9121de447d214297c88dd9f5fa
+385efb8947af70b8425c833a1ab68ba5f357dfae
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index ebb00e155d02f754091a6400bdb64344eda32f01..a4fc2be803c80f890b68575e488c3467d46f8c88 100644 (file)
@@ -1923,10 +1923,9 @@ func gchelperstart() {
        if _g_.m.helpgc < 0 || _g_.m.helpgc >= _MaxGcproc {
                throw("gchelperstart: bad m->helpgc")
        }
-       // For gccgo we run gchelper on the normal g stack.
-       // if _g_ != _g_.m.g0 {
-       //      throw("gchelper not running on g0 stack")
-       // }
+       if _g_ != _g_.m.g0 {
+               throw("gchelper not running on g0 stack")
+       }
 }
 
 // itoaDiv formats val/(10**dec) into buf.