Message ID | mcrsiseqjk2.fsf@iant-glaptop.roam.corp.google.com |
---|---|
State | New |
Headers | show |
diff -r 124e26b93f79 go/go.cc --- a/go/go.cc Wed Jan 22 11:10:28 2014 -0800 +++ b/go/go.cc Thu Jan 23 17:00:16 2014 -0800 @@ -119,6 +119,9 @@ // 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(); diff -r 124e26b93f79 go/gogo-tree.cc --- a/go/gogo-tree.cc Wed Jan 22 11:10:28 2014 -0800 +++ b/go/gogo-tree.cc Thu Jan 23 17:00:16 2014 -0800 @@ -755,7 +755,6 @@ void Gogo::write_globals() { - this->convert_named_types(); this->build_interface_method_tables(); Bindings* bindings = this->current_bindings();