Changeset 243949 in webkit
- Timestamp:
- Apr 5, 2019, 3:08:22 PM (7 years ago)
- Location:
- tags/Safari-608.1.15
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/js/regexp-unicode-expected.txt (modified) (1 diff)
-
LayoutTests/js/script-tests/regexp-unicode.js (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/yarr/YarrJIT.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-608.1.15/LayoutTests/ChangeLog
r243859 r243949 1 2019-04-05 Kocsen Chung <kocsen_chung@apple.com> 2 3 Revert r243839. rdar://problem/49654398 4 1 5 2019-04-03 Timothy Hatcher <timothy@apple.com> 2 6 -
tags/Safari-608.1.15/LayoutTests/js/regexp-unicode-expected.txt
r243839 r243949 149 149 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑]+a|[𐌐𐌑]+./iu)[0] is "𐌑𐌐𐌑" 150 150 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑]+?a|[𐌐𐌑]+?./iu)[0] is "𐌑𐌐" 151 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑]+?a$|[𐌐𐌑]+?.$/iu)[0] is "𐌑𐌐𐌑"152 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑x]+a|[𐌐𐌑x]+./iu)[0] is "𐌑𐌐𐌑"153 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑x]+?a|[𐌐𐌑x]+?./iu)[0] is "𐌑𐌐"154 151 PASS "C83|НАЧАТЬ".match(re8)[0] is "C83|НАЧАТЬ" 155 152 PASS "This.Is.16.Chars|НАЧАТЬ".match(re8)[0] is "This.Is.16.Chars|НАЧАТЬ" -
tags/Safari-608.1.15/LayoutTests/js/script-tests/regexp-unicode.js
r243839 r243949 206 206 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}]+a|[\u{10310}\u{10311}]+./iu)[0]', '"\u{10311}\u{10310}\u{10311}"'); 207 207 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}]+?a|[\u{10310}\u{10311}]+?./iu)[0]', '"\u{10311}\u{10310}"'); 208 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}]+?a$|[\u{10310}\u{10311}]+?.$/iu)[0]', '"\u{10311}\u{10310}\u{10311}"');209 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}x]+a|[\u{10310}\u{10311}x]+./iu)[0]', '"\u{10311}\u{10310}\u{10311}"');210 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}x]+?a|[\u{10310}\u{10311}x]+?./iu)[0]', '"\u{10311}\u{10310}"');211 208 212 209 var re8 = new RegExp("^([0-9a-z\.]{3,16})\\|\u{041d}\u{0410}\u{0427}\u{0410}\u{0422}\u{042c}", "ui"); -
tags/Safari-608.1.15/Source/JavaScriptCore/ChangeLog
r243857 r243949 1 2019-04-05 Kocsen Chung <kocsen_chung@apple.com> 2 3 Revert r243839. rdar://problem/49654398 4 1 5 2019-04-03 Yusuke Suzuki <ysuzuki@apple.com> 2 6 -
tags/Safari-608.1.15/Source/JavaScriptCore/yarr/YarrJIT.cpp
r243839 r243949 1850 1850 JumpList failures; 1851 1851 Label loop(this); 1852 #ifdef JIT_UNICODE_EXPRESSIONS 1853 if (term->characterClass->hasOneCharacterSize() && !term->invert() && term->characterClass->hasNonBMPCharacters()) { 1854 move(TrustedImm32(1), character); 1855 failures.append(checkNotEnoughInput(character)); 1856 } else 1857 #endif 1858 failures.append(atEndOfInput()); 1852 failures.append(atEndOfInput()); 1859 1853 1860 1854 if (term->invert()) { … … 1963 1957 m_backtrackingState.link(this); 1964 1958 1965 #ifdef JIT_UNICODE_EXPRESSIONS1966 1959 if (m_decodeSurrogatePairs) { 1967 1960 if (!term->characterClass->hasOneCharacterSize() || term->invert()) … … 1969 1962 loadFromFrame(term->frameLocation + BackTrackInfoCharacterClass::matchAmountIndex(), countRegister); 1970 1963 } 1971 #endif1972 1964 1973 1965 nonGreedyFailures.append(atEndOfInput());
Note:
See TracChangeset
for help on using the changeset viewer.