r243682 - in /trunk/gcc/go/gofrontend: MERGE ex...
ian@gcc.gnu.org
ian@gcc.gnu.org
Thu Dec 15 02:14:00 GMT 2016
Author: ian
Date: Thu Dec 15 02:14:40 2016
New Revision: 243682
URL: https://gcc.gnu.org/viewcvs?rev=243682&root=gcc&view=rev
Log:
compiler: remove unneeded zero-length slice value init
Prune away a bit of unnecessary code from the helper routine
Slice_construction_expression::create_array_val() that was adding
an extra NULL value to empty slices (no longer needed).
Reviewed-on: https://go-review.googlesource.com/34410
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc
More information about the Gcc-cvs
mailing list