Changeset cce7872 for src/GenPoly
- Timestamp:
- Feb 11, 2016, 3:28:27 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- bed4d37c
- Parents:
- 98735ef (diff), 52f85e0 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
r98735ef rcce7872 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Fri Feb 05 12:23:10201613 // Update Count : 28 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 5 16:45:07 2016 13 // Update Count : 286 14 14 // 15 15 … … 549 549 arg = new AddressExpr( arg ); 550 550 } else { 551 ObjectDecl *newObj = new ObjectDecl( tempNamer.newName(), DeclarationNode::NoStorageClass, LinkageSpec::C, 0, arg->get_results().front()->clone(), 0 ); 551 // use type computed in unification to declare boxed variables 552 Type * newType = param->clone(); 553 if ( env ) env->apply( newType ); 554 ObjectDecl *newObj = new ObjectDecl( tempNamer.newName(), DeclarationNode::NoStorageClass, LinkageSpec::C, 0, newType, 0 ); 552 555 newObj->get_type()->get_qualifiers() = Type::Qualifiers(); // TODO: is this right??? 553 556 stmtsToAdd.push_back( new DeclStmt( noLabels, newObj ) );
Note: See TracChangeset
for help on using the changeset viewer.