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