Changeset eba74ba for src/CodeGen/CodeGenerator.cc
- Timestamp:
- May 25, 2018, 2:51:06 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- cdc4d43
- Parents:
- 3ef35bd (diff), 58e822a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r3ef35bd reba74ba 119 119 120 120 string CodeGenerator::mangleName( DeclarationWithType * decl ) { 121 if ( pretty ) return decl->get_name(); 122 if ( decl->get_mangleName() != "" ) { 121 // GCC builtins should always be printed unmangled 122 if ( pretty || decl->linkage.is_gcc_builtin ) return decl->name; 123 if ( decl->mangleName != "" ) { 123 124 // need to incorporate scope level in order to differentiate names for destructors 124 125 return decl->get_scopedMangleName(); 125 126 } else { 126 return decl-> get_name();127 return decl->name; 127 128 } // if 128 129 }
Note: See TracChangeset
for help on using the changeset viewer.