Commit 9eb3a1d3 by Ian Lance Taylor

compiler: Convert named types before flattening.

From-SVN: r207018
parent f2c20518
......@@ -119,6 +119,9 @@ go_parse_input_files(const char** filenames, unsigned int filename_count,
// Use temporary variables to force order of evaluation.
::gogo->order_evaluations();
// Convert named types to backend representation.
::gogo->convert_named_types();
// Flatten the parse tree.
::gogo->flatten();
......
......@@ -755,7 +755,6 @@ sort_var_inits(Gogo* gogo, Var_inits* var_inits)
void
Gogo::write_globals()
{
this->convert_named_types();
this->build_interface_method_tables();
Bindings* bindings = this->current_bindings();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment