rose_build_add_mask: improve findMaskLiteral perf

This commit is contained in:
Justin Viiret
2017-08-15 13:57:43 +10:00
committed by Matthew Barr
parent 3b63a95f01
commit ba0bf0c991
3 changed files with 52 additions and 34 deletions

View File

@@ -191,6 +191,9 @@ public:
return a;
}
/// Reverse this literal in-place.
void reverse();
void operator+=(const ue2_literal &b);
bool operator==(const ue2_literal &b) const {
return s == b.s && nocase == b.nocase;