This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]