r172731 - in /trunk/gcc/go: ChangeLog go-gcc.cc...

ian@gcc.gnu.org ian@gcc.gnu.org
Tue Apr 19 18:20:00 GMT 2011


Author: ian
Date: Tue Apr 19 18:20:05 2011
New Revision: 172731

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172731
Log:
Use backend interface for blocks.

	* go-gcc.cc (class Bblock): Define.
	(Gcc_backend::if_statement): Change then_block and else_block to
	Bblock*.
	(Gcc_backend::block): New function.
	(Gcc_backend::block_add_statements): New function.
	(Gcc_backend::block_statement): New function.
	(tree_to_block, block_to_tree): New functions.

Modified:
    trunk/gcc/go/ChangeLog
    trunk/gcc/go/go-gcc.cc
    trunk/gcc/go/gofrontend/backend.h
    trunk/gcc/go/gofrontend/gogo-tree.cc
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/gogo.h
    trunk/gcc/go/gofrontend/statements.cc
    trunk/gcc/go/gofrontend/types.cc



More information about the Gcc-cvs mailing list