Changeset fc638d2 for src/ResolvExpr/TypeEnvironment.cc
- Timestamp:
- Dec 13, 2016, 4:13:08 PM (8 years ago)
- 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:
- 7933351
- Parents:
- f7e749f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/TypeEnvironment.cc
rf7e749f rfc638d2 32 32 // 33 33 // I've seen a TU go from 54 minutes to 1 minute 34 seconds with the addition of this comparator. 34 bool AssertCompare::operator()( DeclarationWithType * d1, DeclarationWithType * d2 ) {34 bool AssertCompare::operator()( DeclarationWithType * d1, DeclarationWithType * d2 ) const { 35 35 // Objects are always less than functions 36 36 if ( ObjectDecl * objectDecl1 = dynamic_cast< ObjectDecl * >( d1 ) ) {
Note: See TracChangeset
for help on using the changeset viewer.