Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9eb3a1d3
Commit
9eb3a1d3
authored
Jan 24, 2014
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler: Convert named types before flattening.
From-SVN: r207018
parent
f2c20518
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/go/gofrontend/go.cc
+3
-0
gcc/go/gofrontend/gogo-tree.cc
+0
-1
No files found.
gcc/go/gofrontend/go.cc
View file @
9eb3a1d3
...
...
@@ -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
();
...
...
gcc/go/gofrontend/gogo-tree.cc
View file @
9eb3a1d3
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment