Add a JSScriptRef API to JSC so that we can allow API users to avoid the full cost of reparsing everytime the execute a script.
Created attachment 180016 [details] Patch
Attachment 180016 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/API/JSScriptRef.cpp'..." exit_code: 1 Source/JavaScriptCore/API/JSScriptRefPrivate.h:53: The parameter name "globalContext" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/API/JSScriptRefPrivate.h:65: The parameter name "globalContext" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/API/JSScriptRefPrivate.h:73: The parameter name "script" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/API/JSScriptRefPrivate.h:81: The parameter name "script" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/API/JSScriptRefPrivate.h:92: The parameter name "script" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 5 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 180066 [details] Patch
Attachment 180066 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/API/JSScriptRef.cpp'..." exit_code: 1 Source/JavaScriptCore/API/JSScriptRefPrivate.h:73: The parameter name "script" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/API/JSScriptRefPrivate.h:81: The parameter name "script" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/API/JSScriptRefPrivate.h:92: The parameter name "script" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 3 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Committed r138098: <http://trac.webkit.org/changeset/138098>