Bug 1841771 - Remove fallback path to create RegExp match result r=iain
commit2d11449c5927ed3dadad287b6be0d44656d0365e
authorJon Coppeard <jcoppeard@mozilla.com>
Wed, 26 Jul 2023 16:29:26 +0000 (26 16:29 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Wed, 26 Jul 2023 16:29:26 +0000 (26 16:29 +0000)
tree44e99929a7dad6974565c3860b930dc5f0c474bf
parent3eac12bbd79e7ac0f8254f0d1fee77eabd206c30
Bug 1841771 - Remove fallback path to create RegExp match result r=iain

This fallback path is called 75 times in regxp and sunspider jit tests out of
which it fails 44 times. Based on this is probably safe to remove it and use
on the OOL path to allocate the result.

Differential Revision: https://phabricator.services.mozilla.com/D183503
js/src/jit-test/tests/regexp/bug-1841771.js [new file with mode: 0644]
js/src/jit/ABIFunctionList-inl.h
js/src/jit/CodeGenerator.cpp
js/src/jit/VMFunctions.cpp
js/src/jit/VMFunctions.h