Changeset 02af22de for src/GenPoly
- Timestamp:
- Apr 13, 2016, 5:53:06 PM (8 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:
- baba5d8
- Parents:
- b11fac4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Lvalue.cc
rb11fac4 r02af22de 111 111 Expression *expr = appExpr; 112 112 Type *appType = appExpr->get_results().front(); 113 if ( isPolyType( funType ) ) {113 /*if ( isPolyType( funType ) ) { 114 114 // make sure cast for polymorphic type is inside dereference 115 115 expr = new CastExpr( appExpr, new PointerType( Type::Qualifiers(), appType->clone() ) ); 116 } 116 }*/ 117 117 UntypedExpr *deref = new UntypedExpr( new NameExpr( "*?" ) ); 118 118 deref->get_results().push_back( appType->clone() );
Note: See TracChangeset
for help on using the changeset viewer.