r255400 - in /trunk/gcc/go/gofrontend: MERGE pa...

ian@gcc.gnu.org ian@gcc.gnu.org
Tue Dec 5 02:03:00 GMT 2017


Author: ian
Date: Tue Dec  5 02:03:19 2017
New Revision: 255400

URL: https://gcc.gnu.org/viewcvs?rev=255400&root=gcc&view=rev
Log:
    compiler: no nil check needed for closure var dereferences
    
    Add the "no nil check needed" annotation to the dereference operations
    created in Parse::enclosing_var_reference (this is safe since the
    closure object is under control of the compiler, and pointer fields in
    it will always be non-nil).
    
    Reviewed-on: https://go-review.googlesource.com/81795

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/parse.cc



More information about the Gcc-cvs mailing list