Ignore:
Timestamp:
Apr 14, 2010, 2:38:44 PM (15 years ago)
Author:
[email protected]
Message:

2010-04-14 Peter Varga <[email protected]>

Reviewed by Geoffrey Garen.

Move the YARR JIT fallback detection from RegexJIT.cpp to
RegexCompiler.cpp.

https://bugs.webkit.org/show_bug.cgi?id=37571

  • yarr/RegexCompiler.cpp: (JSC::Yarr::RegexPatternConstructor::atomBackReference): (JSC::Yarr::RegexPatternConstructor::quantifyAtom):
  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::generateTerm): (JSC::Yarr::RegexGenerator::RegexGenerator): (JSC::Yarr::jitCompileRegex):
  • yarr/RegexJIT.h: (JSC::Yarr::RegexCodeBlock::operator!):
  • yarr/RegexPattern.h: (JSC::Yarr::RegexPattern::RegexPattern): (JSC::Yarr::RegexPattern::reset):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/yarr/RegexPattern.h

    r55633 r57608  
    248248        , m_numSubpatterns(0)
    249249        , m_maxBackReference(0)
     250        , m_shouldFallBack(false)
    250251        , newlineCached(0)
    251252        , digitsCached(0)
     
    269270        m_maxBackReference = 0;
    270271
     272        m_shouldFallBack = false;
     273
    271274        newlineCached = 0;
    272275        digitsCached = 0;
     
    335338    unsigned m_numSubpatterns;
    336339    unsigned m_maxBackReference;
     340    bool m_shouldFallBack;
    337341    PatternDisjunction* m_body;
    338342    Vector<PatternDisjunction*, 4> m_disjunctions;
Note: See TracChangeset for help on using the changeset viewer.