compiler: change escape maps to hash tables
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 30 Sep 2019 22:27:44 +0000 (22:27 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 30 Sep 2019 22:27:44 +0000 (22:27 +0000)
commitd79e9c5e969cffb8ddf55db4d63df1782069e98f
tree773a3cf6c492ef19cafd3a41abcd9471f1340e02
parent6ba3c0f71767c2c98d21cda5add80ef03ecd3e37
compiler: change escape maps to hash tables

    Also use just one table lookup, not two.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/197759

From-SVN: r276382
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/escape.cc
gcc/go/gofrontend/escape.h