Placate exception check validation in genericTypedArrayViewProtoFuncLastIndexOf().
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2019 17:59:07 +0000 (17:59 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2019 17:59:07 +0000 (17:59 +0000)
commitad918f9fa85701297c12b54cd494a0b15be3673d
treeda863071db794fe9cf1f89b347b73047bb99310d
parent22f909a96f79e31dc4623bdfb34e7e96dbe08251
Placate exception check validation in genericTypedArrayViewProtoFuncLastIndexOf().
https://bugs.webkit.org/show_bug.cgi?id=196154
<rdar://problem/49145307>

Reviewed by Filip Pizlo.

JSTests:

Also added //@ runDefault constraint to web-assembly-link-error-exception-check.js.
There's no need to run this test on more than 1 test configuration.

* stress/typed-array-lastIndexOf-exception-check.js: Added.
* stress/web-assembly-link-error-exception-check.js:

Source/JavaScriptCore:

* runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
(JSC::genericTypedArrayViewProtoFuncLastIndexOf):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/stress/typed-array-lastIndexOf-exception-check.js [new file with mode: 0644]
JSTests/stress/web-assembly-link-error-exception-check.js
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h