compiler: Compare slice start and end with cap, not len.
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 2 Feb 2012 22:23:10 +0000 (22:23 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 2 Feb 2012 22:23:10 +0000 (22:23 +0000)
commitb6422b3755f39ebc4f942c5f92bd242aee948539
tree40abcc344adc9a14c3dc1b9b4b79bd518255e2dc
parent7de7ae1841e599746f1974ac507bb1d51483c47c
compiler: Compare slice start and end with cap, not len.

From-SVN: r183851
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/types.cc