diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-03-12 11:09:28 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-12 11:09:28 +0100 |
commit | 519775b8d9d823b8cee786bc668e050110a8aa67 (patch) | |
tree | 42296be483ab2f1f3042f5aca8ce91c2aa669ec3 /js/src/irregexp/RegExpEngine.h | |
parent | 2fbd1794780f92d1e511f6314cc9af7b446a6338 (diff) | |
download | UXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar UXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar.gz UXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar.lz UXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar.xz UXP-519775b8d9d823b8cee786bc668e050110a8aa67.zip |
Revert "JS - RegExp - match updated spec for `/\b/iu` and `/\B/iu`"
This reverts commit 93f8e06bb8d8656e868679d584c7c8771ff8e42f.
Diffstat (limited to 'js/src/irregexp/RegExpEngine.h')
-rw-r--r-- | js/src/irregexp/RegExpEngine.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/js/src/irregexp/RegExpEngine.h b/js/src/irregexp/RegExpEngine.h index 1a8fd4b22..78c784aaf 100644 --- a/js/src/irregexp/RegExpEngine.h +++ b/js/src/irregexp/RegExpEngine.h @@ -1195,14 +1195,13 @@ AddRange(ContainedInLattice a, class BoyerMoorePositionInfo { public: - explicit BoyerMoorePositionInfo(LifoAlloc* alloc, bool unicode_ignore_case) + explicit BoyerMoorePositionInfo(LifoAlloc* alloc) : map_(*alloc), map_count_(0), w_(kNotYet), s_(kNotYet), d_(kNotYet), - surrogate_(kNotYet), - unicode_ignore_case_(unicode_ignore_case) + surrogate_(kNotYet) { map_.reserve(kMapSize); for (int i = 0; i < kMapSize; i++) @@ -1229,9 +1228,6 @@ class BoyerMoorePositionInfo ContainedInLattice s_; // The \s character class. ContainedInLattice d_; // The \d character class. ContainedInLattice surrogate_; // Surrogate UTF-16 code units. - - // True if the RegExp has unicode and ignoreCase flags. - bool unicode_ignore_case_; }; typedef InfallibleVector<BoyerMoorePositionInfo*, 1> BoyerMoorePositionInfoVector; |