]> gcc.gnu.org Git - gcc.git/commit
go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.
authorIan Lance Taylor <iant@google.com>
Tue, 22 Dec 2015 01:58:17 +0000 (01:58 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 22 Dec 2015 01:58:17 +0000 (01:58 +0000)
commit399f5feb92e4c588ec230d4a0b8ac9b0fa95d7ed
treea8c1bae049e51a32ca8a424d0e68ee92fff9152e
parent18fb580c1e9e378448f202a818ff9f5aa1596574
go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.

* go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.  Add
t_ and orig_type_ fields.  Add new two parameter constructor.  Add
get_tree and get_decl methods.
(Gcc_backend::var_expression): Pass location to var get_tree.
(Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR.  Use
two parameter constructor for Bvariable.
(Gcc_backend::global_variable_set_init): Don't remove
VIEW_CONVERT_EXPR.  Use var get_decl, not get_tree.
(Gcc_backend::write_global_definitions): Likewise.
(Gcc_backend::init_statement): Call var get_decl, not get_tree.
(Gcc_backend::block): Likewise.
(Gcc_backend::implicit_variable_set_init): Likewise.
(Gcc_backend::immutable_struct_set_init): Likewise.
(Gcc_backend::function_set_parameters): Likewise.

From-SVN: r231894
gcc/go/ChangeLog
gcc/go/go-gcc.cc
This page took 0.053977 seconds and 5 git commands to generate.