diff options
author | Ian Lance Taylor <iant@google.com> | 2011-04-04 23:19:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-04-04 23:19:09 +0000 |
commit | 9403944776d0a804dbb1253430633d04aef74c51 (patch) | |
tree | 8d44210d8783d83e459d812c1f0df7bd37abb3c8 /libgo | |
parent | 69387b92c18aa7fe8d29aa7788ae838a027b5d48 (diff) | |
download | gcc-9403944776d0a804dbb1253430633d04aef74c51.zip gcc-9403944776d0a804dbb1253430633d04aef74c51.tar.gz gcc-9403944776d0a804dbb1253430633d04aef74c51.tar.bz2 |
Use backend interface for return statements.
* go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h".
(class Bfunction): Define.
(Gcc_backend::assignment_statement): Rename from assignment.
Check for errors.
(Gcc_backend::return_statement): New function.
(tree_to_function): New function.
* Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h,
$(GIMPLE_H), and $(GO_GOGO_H).
From-SVN: r171959
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions