<rdar://problem/6924033> REGRESSION: Assertion failure due to forward references
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 May 2009 03:22:47 +0000 (03:22 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 May 2009 03:22:47 +0000 (03:22 +0000)
commit5cca2e3d2dacde7a985fac3c7ef09c13bb3c521e
tree50ffb358d9d7577dc40d00da26c32543be174f76
parenta70eba2bf34b406e0c52e9e653e24bbd0fb8e213
<rdar://problem/6924033> REGRESSION: Assertion failure due to forward references

Reviewed by Gavin Barraclough.

Add a pattern type for forward references to ensure that we don't confuse the
quantifier alternatives assertion.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@44174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/yarr/RegexCompiler.cpp
JavaScriptCore/yarr/RegexInterpreter.cpp
JavaScriptCore/yarr/RegexJIT.cpp
JavaScriptCore/yarr/RegexPattern.h
LayoutTests/ChangeLog
LayoutTests/fast/js/regexp-backreferences-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/regexp-backreferences.html [new file with mode: 0644]
LayoutTests/fast/js/resources/regexp-backreferences.js [new file with mode: 0644]