Ignore:
Timestamp:
Dec 23, 2020, 10:02:57 AM (13 months ago)
Author:
caparsons <caparson@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
0536c03, 9bb9545b
Parents:
6797f8f (diff), 2daea42 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r6797f8f rbd144fd  
    13111311        }
    13121312
    1313         ast::ptr< ast::Expr > resolveStmtExpr(
     1313        const ast::Expr * resolveStmtExpr(
    13141314                const ast::StmtExpr * stmtExpr, const ast::SymbolTable & symtab
    13151315        ) {
    13161316                assert( stmtExpr );
    13171317                ast::Pass< Resolver_new > resolver{ symtab };
    1318                 ast::ptr< ast::Expr > ret = stmtExpr;
    1319                 ret = ret->accept( resolver );
    1320                 strict_dynamic_cast< ast::StmtExpr * >( ret.get_and_mutate() )->computeResult();
     1318                auto ret = mutate(stmtExpr->accept(resolver));
     1319                strict_dynamic_cast< ast::StmtExpr * >( ret )->computeResult();
    13211320                return ret;
    13221321        }
Note: See TracChangeset for help on using the changeset viewer.