Bug 1882386: Correctly handle empty search string case when inlining String.p.lastInd...
commit4551ff49c026a7ea310bad8d937ce56defb3e8ff
authorAndré Bargull <andre.bargull@gmail.com>
Fri, 1 Mar 2024 12:23:08 +0000 (1 12:23 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Fri, 1 Mar 2024 12:23:08 +0000 (1 12:23 +0000)
tree16254cea7807d7d5004d9301b2b5ed82ceca13f1
parentf658742e04576ac09a9313f1f82241b648fb0970
Bug 1882386: Correctly handle empty search string case when inlining String.p.lastIndexOf. r=jandem

Differential Revision: https://phabricator.services.mozilla.com/D203248
js/src/builtin/String.cpp
js/src/jit-test/tests/cacheir/string-lastIndexOf.js [new file with mode: 0644]