Changeset 68f9c43 for src/SynTree/ApplicationExpr.cc
- Timestamp:
- Mar 16, 2018, 5:15:02 PM (7 years ago)
- Branches:
- new-env, with_gc
- Children:
- 8d7bef2
- Parents:
- 6171841
- git-author:
- Aaron Moss <a3moss@…> (03/16/18 17:04:24)
- git-committer:
- Aaron Moss <a3moss@…> (03/16/18 17:15:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/ApplicationExpr.cc
r6171841 r68f9c43 43 43 } 44 44 45 ParamEntry::~ParamEntry() {46 delete actualType;47 delete formalType;48 delete expr;49 }50 51 45 ApplicationExpr::ApplicationExpr( Expression *funcExpr, const std::list<Expression *> & args ) : function( funcExpr ), args( args ) { 52 46 PointerType *pointer = strict_dynamic_cast< PointerType* >( funcExpr->get_result() ); … … 61 55 Expression( other ), function( maybeClone( other.function ) ) { 62 56 cloneAll( other.args, args ); 63 }64 65 ApplicationExpr::~ApplicationExpr() {66 delete function;67 deleteAll( args );68 57 } 69 58
Note: See TracChangeset
for help on using the changeset viewer.