Changeset fdae913 for src/SymTab


Ignore:
Timestamp:
Mar 15, 2019, 3:43:39 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
42f1279c
Parents:
b419abb
Message:

modify persistent map to not re-initialize history nodes facing deletion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.cc

    rb419abb rfdae913  
    189189        void Indexer::leaveScope() {
    190190                if ( repScope == scope ) {
    191                         // replace all maps and scope index with previous scope's versions
    192191                        Ptr prev = prevScope;           // make sure prevScope stays live
    193192                        *this = std::move(*prevScope);  // replace with previous scope
Note: See TracChangeset for help on using the changeset viewer.