Changeset 7ff3e522 for src/ResolvExpr


Ignore:
Timestamp:
Aug 12, 2020, 10:31:58 AM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f8d05ee
Parents:
343d10e
Message:

{pass_t Pass::pass; => core_t Pass::core;} To avoid confusion about which pass we are talking about.

Location:
src/ResolvExpr
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.cpp

    r343d10e r7ff3e522  
    15901590
    15911591        if ( mode.failFast && candidates.empty() ) {
    1592                 switch(finder.pass.reason.code) {
     1592                switch(finder.core.reason.code) {
    15931593                case Finder::NotFound:
    15941594                        { SemanticError( expr, "No alternatives for expression " ); break; }
  • src/ResolvExpr/CastCost.cc

    r343d10e r7ff3e522  
    242242                        dst, srcIsLvalue, symtab, env, localCastCost );
    243243                src->accept( converter );
    244                 return converter.pass.cost;
     244                return converter.core.cost;
    245245        }
    246246}
  • src/ResolvExpr/CommonType.cc

    r343d10e r7ff3e522  
    968968                ast::Pass<CommonType_new> visitor{ type2, widen, symtab, env, open };
    969969                type1->accept( visitor );
    970                 ast::ptr< ast::Type > result = visitor.pass.result;
     970                ast::ptr< ast::Type > result = visitor.core.result;
    971971
    972972                // handling for opaque type declarations (?)
  • src/ResolvExpr/ConversionCost.cc

    r343d10e r7ff3e522  
    522522                ast::Pass<ConversionCost_new> converter( dst, srcIsLvalue, symtab, env, localConversionCost );
    523523                src->accept( converter );
    524                 return converter.pass.cost;
     524                return converter.core.cost;
    525525        }
    526526}
     
    565565                        ast::Pass<ConversionCost_new> converter( dst, srcIsLvalue, symtab, env, localConversionCost );
    566566                        src->accept( converter );
    567                         return converter.pass.cost;
     567                        return converter.core.cost;
    568568                }
    569569        } else {
  • src/ResolvExpr/PolyCost.cc

    r343d10e r7ff3e522  
    8787        ast::Pass<PolyCost_new> costing( symtab, env );
    8888        type->accept( costing );
    89         return costing.pass.result;
     89        return costing.core.result;
    9090}
    9191
  • src/ResolvExpr/PtrsAssignable.cc

    r343d10e r7ff3e522  
    155155                ast::Pass<PtrsAssignable_new> visitor( dst, env );
    156156                src->accept( visitor );
    157                 return visitor.pass.result;
     157                return visitor.core.result;
    158158        }
    159159
  • src/ResolvExpr/PtrsCastable.cc

    r343d10e r7ff3e522  
    293293                ast::Pass< PtrsCastable_new > ptrs{ dst, env, symtab };
    294294                src->accept( ptrs );
    295                 return ptrs.pass.result;
     295                return ptrs.core.result;
    296296        }
    297297}
  • src/ResolvExpr/Resolver.cc

    r343d10e r7ff3e522  
    982982                ast::Pass<DeleteFinder_new> finder;
    983983                expr->accept( finder );
    984                 return finder.pass.delExpr;
     984                return finder.core.delExpr;
    985985        }
    986986
  • src/ResolvExpr/SpecCost.cc

    r343d10e r7ff3e522  
    217217        }
    218218        ast::Pass<SpecCounter> counter;
    219         type->accept( *counter.pass.visitor );
    220         return counter.pass.get_count();
     219        type->accept( counter );
     220        return counter.core.get_count();
    221221}
    222222
  • src/ResolvExpr/Unify.cc

    r343d10e r7ff3e522  
    11851185                        ast::Pass<Unify_new> comparator{ type2, env, need, have, open, widen, symtab };
    11861186                        type1->accept( comparator );
    1187                         return comparator.pass.result;
     1187                        return comparator.core.result;
    11881188                }
    11891189        }
Note: See TracChangeset for help on using the changeset viewer.