compiler: Simplify making integer expressions.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 24 Oct 2014 01:49:23 +0000 (01:49 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 24 Oct 2014 01:49:23 +0000 (01:49 +0000)
commit3c7652863686230db5cb861ebfcbc600f10156e0
treefefc70c1ab55551854cd9b757e03f44f69d717ac
parent7a149e7a51cd71abf4b6313e3d50add654e98c23
compiler: Simplify making integer expressions.

Instead of always needing an mpz_t, add helper functions to
create an integer functions from signed or unsigned long
values.

From-SVN: r216610
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/parse.cc
gcc/go/gofrontend/runtime.cc
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/types.cc