Ignore:
Timestamp:
Sep 20, 2010, 12:29:35 PM (15 years ago)
Author:
[email protected]
Message:

2010-09-20 Peter Varga <[email protected]>

Reviewed by Geoffrey Garen.

REGRESSION(67790): jsc tests are failed with YARR interpreter
https://bugs.webkit.org/show_bug.cgi?id=46083

Fix the initializing of the lastSubpatternId member of
parentheses.

  • yarr/RegexCompiler.cpp: (JSC::Yarr::RegexPatternConstructor::atomParenthesesEnd):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/yarr/RegexCompiler.cpp

    r67790 r67869  
    376376        m_alternative = m_alternative->m_parent->m_parent;
    377377
    378         PatternTerm lastTerm = m_alternative->lastTerm();
     378        PatternTerm& lastTerm = m_alternative->lastTerm();
    379379       
    380380        unsigned numParenAlternatives = parenthesisDisjunction->m_alternatives.size();
Note: See TracChangeset for help on using the changeset viewer.