Changes in src/AST/Convert.cpp [6cebfef:cc64be1d]
- File:
-
- 1 edited
-
src/AST/Convert.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r6cebfef rcc64be1d 606 606 } 607 607 608 const ast::Stmt * visit( const ast::MutexStmt * node ) override final {609 if ( inCache( node ) ) return nullptr;610 auto stmt = new MutexStmt(611 get<Statement>().accept1( node->stmt ),612 get<Expression>().acceptL( node->mutexObjs )613 );614 return stmtPostamble( stmt, node );615 }616 617 608 TypeSubstitution * convertTypeSubstitution(const ast::TypeSubstitution * src) { 618 609 … … 2133 2124 } 2134 2125 2135 virtual void visit( const MutexStmt * old ) override final {2136 if ( inCache( old ) ) return;2137 this->node = new ast::MutexStmt(2138 old->location,2139 GET_ACCEPT_1(stmt, Stmt),2140 GET_ACCEPT_V(mutexObjs, Expr)2141 );2142 cache.emplace( old, this->node );2143 }2144 2145 2126 // TypeSubstitution shouldn't exist yet in old. 2146 2127 ast::TypeSubstitution * convertTypeSubstitution(const TypeSubstitution * old) {
Note:
See TracChangeset
for help on using the changeset viewer.