Use backend interface for constant switch statements.
authorIan Lance Taylor <iant@google.com>
Wed, 6 Apr 2011 23:07:13 +0000 (23:07 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 6 Apr 2011 23:07:13 +0000 (23:07 +0000)
commit8d0b03a22da97caa72c0e6e6c3020b87c06ef03a
tree023ebebfe6e01bf9532e434a4cd616d10b5c4872
parentd17b0ae1cab1220ed4e43c8972bb962379ef1f7d
Use backend interface for constant switch statements.

* go-gcc.cc (if_statement): Use build3_loc.
(Gcc_backend::switch_statement): New function.
(Gcc_backend::statement_list): New function.

From-SVN: r172066
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/statements.h