Changeset 2d019af for src/CodeGen
- Timestamp:
- Mar 12, 2021, 11:14:29 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 41ca6fa, e867b44d
- Parents:
- 6083392
- Location:
- src/CodeGen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r6083392 r2d019af 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Feb 16 08:32:48 202013 // Update Count : 53 212 // Last Modified On : Fri Mar 12 19:00:42 2021 13 // Update Count : 536 14 14 // 15 15 #include "CodeGenerator.h" … … 935 935 if ( asmStmt->get_instruction() ) asmStmt->get_instruction()->accept( *visitor ); 936 936 output << " )"; 937 } 938 939 void CodeGenerator::postvisit( DirectiveDecl * directiveDecl ) { 940 output << endl << directiveDecl->get_stmt()->directive; // endl prevents spaces before directive 937 941 } 938 942 -
src/CodeGen/CodeGenerator.h
r6083392 r2d019af 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Feb 16 03:58:31 202013 // Update Count : 6 212 // Last Modified On : Fri Mar 12 18:35:38 2021 13 // Update Count : 63 14 14 // 15 15 … … 105 105 void postvisit( DirectiveStmt * ); 106 106 void postvisit( AsmDecl * ); // special: statement in declaration context 107 void postvisit( DirectiveDecl * ); // special: statement in declaration context 107 108 void postvisit( IfStmt * ); 108 109 void postvisit( SwitchStmt * );
Note:
See TracChangeset
for help on using the changeset viewer.