Changeset 8e18b8e for src/ResolvExpr/PolyCost.cc
- Timestamp:
- May 31, 2018, 4:24:49 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 0182bfa, 1d7b0a8
- Parents:
- 75308bcc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/PolyCost.cc
r75308bcc r8e18b8e 39 39 40 40 void PolyCost::previsit(TypeInstType * typeInst) { 41 EqvClass eqvClass; 42 if ( tenv.lookup( typeInst->name, eqvClass ) ) { 43 if ( eqvClass.type ) { 44 if ( TypeInstType * otherTypeInst = dynamic_cast< TypeInstType* >( eqvClass.type ) ) { 41 if ( const EqvClass *eqvClass = tenv.lookup( typeInst->name ) ) { 42 if ( eqvClass->type ) { 43 if ( TypeInstType * otherTypeInst = dynamic_cast< TypeInstType* >( eqvClass->type ) ) { 45 44 if ( indexer.lookupType( otherTypeInst->name ) ) { 46 45 // bound to opaque type
Note: See TracChangeset
for help on using the changeset viewer.