Ignore:
Timestamp:
Oct 27, 2009, 6:51:42 AM (16 years ago)
Author:
Csaba Osztrogonác
Message:

Rubber-stamped by Tor Arne Vestbø.

Patch by Peter Varga <[email protected]> on 2009-10-27
Fix typo in RegexInterpreter.cpp and RegexJIT.cpp alterantive to
alternative.

  • yarr/RegexInterpreter.cpp:

(JSC::Yarr::ByteCompiler::alternativeBodyDisjunction):
(JSC::Yarr::ByteCompiler::alternativeDisjunction):
(JSC::Yarr::ByteCompiler::emitDisjunction):

  • yarr/RegexJIT.cpp:

(JSC::Yarr::RegexGenerator::generateDisjunction):

File:
1 edited

Legend:

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

    r47338 r50143  
    14911491    }
    14921492
    1493     void alterantiveBodyDisjunction()
     1493    void alternativeBodyDisjunction()
    14941494    {
    14951495        int newAlternativeIndex = m_bodyDisjunction->terms.size();
     
    15001500    }
    15011501
    1502     void alterantiveDisjunction()
     1502    void alternativeDisjunction()
    15031503    {
    15041504        int newAlternativeIndex = m_bodyDisjunction->terms.size();
     
    15161516            if (alt) {
    15171517                if (disjunction == m_pattern.m_body)
    1518                     alterantiveBodyDisjunction();
     1518                    alternativeBodyDisjunction();
    15191519                else
    1520                     alterantiveDisjunction();
     1520                    alternativeDisjunction();
    15211521            }
    15221522
Note: See TracChangeset for help on using the changeset viewer.