Ignore:
Timestamp:
Dec 21, 2016, 3:53:58 PM (2 years ago)
Author:
nmedfort
Message:

Bug fixes for Carry Manager and issues reported by Fahad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_analysis.cpp

    r5091 r5233  
    175175    else if (isa<Any>(re)) {
    176176        return 1;
    177     }
    178     else if (const Name * n = dyn_cast<Name>(re)) {
    179     // Eventually names might be set up for not unit length items.
     177    } else if (const Name * n = dyn_cast<Name>(re)) {
     178        // Eventually names might be set up for not unit length items.
    180179        switch (n->getType()) {
    181180            case Name::Type::Byte:
     
    186185            case Name::Type::Reference:
    187186                return minMatchLength(n->getDefinition());
    188             case Name::Type::Unknown:
     187            default:
    189188                return 0;
    190189        }
Note: See TracChangeset for help on using the changeset viewer.