Changes in src/ResolvExpr/Resolver.cc [7f5566b:145f1fc]
- File:
-
- 1 edited
-
src/ResolvExpr/Resolver.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r7f5566b r145f1fc 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 12:17:01 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Jul 24 17:33:54 201513 // Update Count : 1 7811 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Jul 15 14:54:04 2015 13 // Update Count : 167 14 14 // 15 15 … … 41 41 42 42 virtual void visit( ExprStmt *exprStmt ); 43 virtual void visit( AsmExpr *asmExpr );44 virtual void visit( AsmStmt *asmStmt );45 43 virtual void visit( IfStmt *ifStmt ); 46 44 virtual void visit( WhileStmt *whileStmt ); … … 211 209 exprStmt->set_expr( newExpr ); 212 210 } // if 213 }214 215 void Resolver::visit( AsmExpr *asmExpr ) {216 Expression *newExpr = findVoidExpression( asmExpr->get_operand(), *this );217 delete asmExpr->get_operand();218 asmExpr->set_operand( newExpr );219 if ( asmExpr->get_inout() ) {220 newExpr = findVoidExpression( asmExpr->get_inout(), *this );221 delete asmExpr->get_inout();222 asmExpr->set_inout( newExpr );223 } // if224 }225 226 void Resolver::visit( AsmStmt *asmStmt ) {227 acceptAll( asmStmt->get_input(), *this);228 acceptAll( asmStmt->get_output(), *this);229 211 } 230 212
Note:
See TracChangeset
for help on using the changeset viewer.