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
2c686dfe
Commit
2c686dfe
authored
May 16, 2012
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler: Fix assembler names of types defined in functions.
From-SVN: r187574
parent
240f6a1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gcc/go/gofrontend/gogo-tree.cc
+1
-1
gcc/go/gofrontend/types.cc
+1
-1
No files found.
gcc/go/gofrontend/gogo-tree.cc
View file @
2c686dfe
...
...
@@ -1003,7 +1003,7 @@ Named_object::get_id(Gogo* gogo)
{
const
Named_object
*
in_function
=
this
->
type_value
()
->
in_function
();
if
(
in_function
!=
NULL
)
decl_name
+=
'$'
+
in_function
->
name
(
);
decl_name
+=
'$'
+
Gogo
::
unpack_hidden_name
(
in_function
->
name
()
);
}
return
get_identifier_from_string
(
decl_name
);
}
...
...
gcc/go/gofrontend/types.cc
View file @
2c686dfe
...
...
@@ -1748,7 +1748,7 @@ Type::specific_type_functions(Gogo* gogo, Named_type* name,
base_name
=
name
->
name
();
const
Named_object
*
in_function
=
name
->
in_function
();
if
(
in_function
!=
NULL
)
base_name
+=
'$'
+
in_function
->
name
(
);
base_name
+=
'$'
+
Gogo
::
unpack_hidden_name
(
in_function
->
name
()
);
}
std
::
string
hash_name
=
base_name
+
"$hash"
;
std
::
string
equal_name
=
base_name
+
"$equal"
;
...
...
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