Fixed detection of alternative smaller than the first alternative
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2010 00:04:22 +0000 (00:04 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2010 00:04:22 +0000 (00:04 +0000)
commit4e563cec5c858a9a87fe8a217e04728b4b464140
tree06a0c3ff488f9e481593cd92f26e6384bf59c8f0
parent38c10d67015843e0236ff16459322eb15bd0b221
Fixed detection of alternative smaller than the first alternative
to only check looping alternatives.
https://bugs.webkit.org/show_bug.cgi?id=46049

Patch by Michael Saboff <msaboff@apple.com> on 2010-09-20
Reviewed by Gavin Barraclough.

* yarr/RegexJIT.cpp:
(JSC::Yarr::RegexGenerator::generateDisjunction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/yarr/RegexJIT.cpp