Changes in / [837a17c:dadc1b5]
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r837a17c rdadc1b5 311 311 Type * type = InitTweak::getPointerBase( (*arg)->get_results().front() ); 312 312 assert( type ); 313 newExpr->get_results().push_back( type );313 newExpr->get_results().push_back( type->clone() ); 314 314 *arg = newExpr; 315 315 } // if -
src/InitTweak/FixInit.cc
r837a17c rdadc1b5 284 284 UntypedExpr * untyped = new UntypedExpr( new NameExpr( fname ) ); 285 285 untyped->get_args().push_back( new AddressExpr( new VariableExpr( var ) ) ); 286 if (cpArg) untyped->get_args().push_back( cpArg );286 if (cpArg) untyped->get_args().push_back( cpArg->clone() ); 287 287 288 288 // resolve copy constructor -
src/SynTree/Expression.cc
r837a17c rdadc1b5 385 385 UntypedExpr::~UntypedExpr() { 386 386 delete function; 387 deleteAll( args ); //TODO FIXME the arguments are leaked but they seem to be shared in some way387 deleteAll( args ); 388 388 } 389 389
Note: See TracChangeset
for help on using the changeset viewer.