Ignore:
Timestamp:
Jan 22, 2016, 1:54:30 PM (9 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:
6d160d7
Parents:
4a79e3c9
Message:

Switched parameter adder over to add for pointer*-to-polymorphic-generic as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/GenPoly.cc

    r4a79e3c9 r32805db  
    168168                        // found the variable directly
    169169                        return varExpr;
     170                } else if ( AddressExpr *addressExpr = dynamic_cast< AddressExpr* >( expr ) ) {
     171                        return getBaseVar( addressExpr->get_arg() );
    170172                } else if ( UntypedExpr *untypedExpr = dynamic_cast< UntypedExpr* >( expr ) ) {
    171173                        // look for compiler-inserted dereference operator
Note: See TracChangeset for help on using the changeset viewer.