Changes in src/CodeGen/CodeGenerator.cc [066d77a:58dd019]
- File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r066d77a r58dd019 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Aug 4 13:35:30201613 // Update Count : 3 5212 // Last Modified On : Tue Dec 13 14:51:27 2016 13 // Update Count : 362 14 14 // 15 15 … … 57 57 if ( decl->get_extension() ) { 58 58 output << "__extension__ "; 59 } // if 60 } // extension 61 62 void CodeGenerator::asmName( DeclarationWithType * decl ) { 63 if ( ConstantExpr * asmName = decl->get_asmName() ) { 64 output << " asm ( " << asmName->get_constant()->get_value() << " )"; 59 65 } // if 60 66 } // extension … … 141 147 } // if 142 148 149 asmName( functionDecl ); 150 143 151 // acceptAll( functionDecl->get_oldDecls(), *this ); 144 152 if ( functionDecl->get_statements() ) { … … 153 161 handleStorageClass( objectDecl ); 154 162 output << genType( objectDecl->get_type(), mangleName( objectDecl ) ); 163 164 asmName( objectDecl ); 155 165 156 166 if ( objectDecl->get_init() ) {
Note:
See TracChangeset
for help on using the changeset viewer.