[JSC] Micro-optimize YarrJIT's surrogate pair handling
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Sep 2019 18:01:14 +0000 (18:01 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Sep 2019 18:01:14 +0000 (18:01 +0000)
commitf7d67e4e5f18d2f175e221ef5f6b8023e0f08fc2
tree04a5742725caae587b20f45294f93c8528776c88
parenta8daf009e3d4eb1494170b49ac4dcb078020b553
[JSC] Micro-optimize YarrJIT's surrogate pair handling
https://bugs.webkit.org/show_bug.cgi?id=201750

Reviewed by Michael Saboff.

Optimize sequence of machine code used to get code-point with unicode flag.

* yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::tryReadUnicodeCharImpl):

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