Changes in src/AST/Convert.cpp [2c04369:6f4b7f2]
- File:
-
- 1 edited
-
src/AST/Convert.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r2c04369 r6f4b7f2 10 10 // Created On : Thu May 09 15::37::05 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : T ue May 28 12:00:00 201913 // Update Count : 712 // Last Modified On : Thu May 23 16:59:00 2019 13 // Update Count : 6 14 14 // 15 15 … … 1341 1341 if ( ! old ) return nullptr; 1342 1342 old->accept(*this); 1343 ast::Node * ret = node; 1344 node = nullptr; 1345 return strict_dynamic_cast< NewT * >( ret ); 1343 return strict_dynamic_cast< NewT * >( node ); 1346 1344 } 1347 1345 … … 1356 1354 a->accept( *this ); 1357 1355 ret.emplace_back( strict_dynamic_cast< NewT * >(node) ); 1358 node = nullptr;1359 1356 } 1360 1357 return ret; … … 1880 1877 GET_LABELS_V(old->labels) 1881 1878 ); 1882 cache.emplace( old, stmt ); 1879 this->node = stmt; 1880 cache.emplace( old, this->node ); 1883 1881 stmt->callStmt = GET_ACCEPT_1(callStmt, Stmt); 1884 this->node = stmt;1885 1882 } 1886 1883
Note:
See TracChangeset
for help on using the changeset viewer.