OSDN Git Service

Use backend interface for constant switch statements.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Apr 2011 23:07:13 +0000 (23:07 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Apr 2011 23:07:13 +0000 (23:07 +0000)
commit8259743a03dadf966dbc669c43e611bf63149282
tree023ebebfe6e01bf9532e434a4cd616d10b5c4872
parent413351c2ed18adb38a26509442e894379dfd133d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172066 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/statements.h