JSScript should have an accessor saying if it's cached or not
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2019 01:28:49 +0000 (01:28 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2019 01:28:49 +0000 (01:28 +0000)
commitc0cc85d123c0580cd8c3c6b9cfa6f6900dcb628b
tree465b4ceb93ce40d0b170af65af87fdb6b8115ebb
parentd3b556d0b503d5c55a92f1429d5a7f05f40ca420
JSScript should have an accessor saying if it's cached or not
https://bugs.webkit.org/show_bug.cgi?id=195783

Reviewed by Michael Saboff.

* API/JSScript.h:
* API/JSScript.mm:
(-[JSScript isUsingBytecodeCache]):
* API/tests/testapi.mm:
(testIsUsingBytecodeCacheAccessor):
(testObjectiveCAPI):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/API/JSScript.h
Source/JavaScriptCore/API/JSScript.mm
Source/JavaScriptCore/API/tests/testapi.mm
Source/JavaScriptCore/ChangeLog