Ignore:
Timestamp:
Dec 30, 2017, 4:43:19 PM (15 months ago)
Author:
cameron
Message:

Parsing of byte CCs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_memoizer.hpp

    r5630 r5814  
    2121    }
    2222
    23     Name * memoize(CC * const cc) {
    24         auto f = find(cc);
    25         if (f != end()) {
    26             return llvm::cast<Name>(*f);
    27         } else {
    28             return memoize(makeName(cc));
    29         }
     23    CC * memoize(CC * const cc) {
     24        return llvm::cast<CC>(memoize(llvm::cast<RE>(cc)));
    3025    }
    3126};
Note: See TracChangeset for help on using the changeset viewer.