Changeset 02af22de for src


Ignore:
Timestamp:
Apr 13, 2016, 5:53:06 PM (8 years ago)
Author:
Aaron Moss <a3moss@…>
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
Message:

back out build-breaking change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Lvalue.cc

    rb11fac4 r02af22de  
    111111                                Expression *expr = appExpr;
    112112                                Type *appType = appExpr->get_results().front();
    113                                 if ( isPolyType( funType ) ) {
     113                                /*if ( isPolyType( funType ) ) {
    114114                                        // make sure cast for polymorphic type is inside dereference
    115115                                        expr = new CastExpr( appExpr, new PointerType( Type::Qualifiers(), appType->clone() ) );
    116                                 }
     116                                }*/
    117117                                UntypedExpr *deref = new UntypedExpr( new NameExpr( "*?" ) );
    118118                                deref->get_results().push_back( appType->clone() );
Note: See TracChangeset for help on using the changeset viewer.