Remove extra check in RegExp @matchSlow
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jun 2019 20:28:05 +0000 (20:28 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jun 2019 20:28:05 +0000 (20:28 +0000)
commitffb9597046ddcd38d91ad1cdfedd0d219281d1d9
tree3fc6ed05d3596100033d76ec7e997b11d2ce96e5
parent33eb7e10abd724dcfe98963cde23b97e53a6e0de
Remove extra check in RegExp @matchSlow
https://bugs.webkit.org/show_bug.cgi?id=198846

Patch by Alexey Shvayka <shvaikalesh@gmail.com> on 2019-06-21
Reviewed by Joseph Pecoraro.

Type of RegExp `exec` result is already asserted in @regExpExec.

* builtins/RegExpPrototype.js:
(globalPrivate.matchSlow): Remove isObject check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@246692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/builtins/RegExpPrototype.js