Use backend interface for if statements.
authorIan Lance Taylor <iant@google.com>
Wed, 6 Apr 2011 15:46:53 +0000 (15:46 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 6 Apr 2011 15:46:53 +0000 (15:46 +0000)
commitdb0adf823043571405db77196c8b8898212808ec
tree0dc23eb2f1b6ff20645ffb5adce44203f0b5a406
parentcfebcf30eae6e2f41e61d600f129872aaa286fb3
Use backend interface for if statements.

Rename some temporary conversion functions to shorter names.

* go-gcc.cc (Gcc_backend::if_statement): New function.
(tree_to_stat): New function.
(expr_to_tree): Renamed from expression_to_tree.
(stat_to_tree): Renamed from statement_to_tree.

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