Ignore:
Timestamp:
Sep 22, 2017, 6:49:33 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
60c3b06c
Parents:
b56c17c
Message:

Reintroduce mangling lvalue qualifier to allow differentiating lvalues and rvalues in the resolver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cc

    rb56c17c r7cddf77  
    311311//                      mangleName << "E";
    312312//              } // if
     313                if ( type->get_lvalue() ) {
     314                        // mangle based on whether the type is lvalue, so that the resolver can differentiate lvalues and rvalues
     315                        mangleName << "L";
     316                }
    313317                if ( type->get_atomic() ) {
    314318                        mangleName << "A";
Note: See TracChangeset for help on using the changeset viewer.