<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[190028] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/190028">190028</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-09-20 09:41:01 -0700 (Sun, 20 Sep 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>[CallWith=ScriptState] should pass ExecState to the implementation by reference
https://bugs.webkit.org/show_bug.cgi?id=149378

Reviewed by Sam Weinig.

[CallWith=ScriptState] should pass ExecState to the implementation by
reference instead of pointer, as it is expected to be non-null.

Also rename the ExecState variables from 'exec' to 'state' in the
bindings as this is the preferred naming convention.

* Modules/indexeddb/IDBCursor.h:
* Modules/indexeddb/IDBObjectStore.h:
* Modules/indexeddb/legacy/LegacyCursor.cpp:
(WebCore::LegacyCursor::update):
* Modules/indexeddb/legacy/LegacyCursor.h:
* Modules/indexeddb/legacy/LegacyObjectStore.cpp:
(WebCore::LegacyObjectStore::add):
(WebCore::LegacyObjectStore::put):
* Modules/indexeddb/legacy/LegacyObjectStore.h:
* Modules/mediastream/CapabilityRange.cpp:
(WebCore::scriptValue):
(WebCore::CapabilityRange::min):
(WebCore::CapabilityRange::max):
* Modules/mediastream/CapabilityRange.h:
* Modules/streams/ReadableStreamController.h:
(WebCore::ReadableStreamController::error):
(WebCore::ReadableStreamController::enqueue):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateEventListenerCall):
(GenerateGetOwnPropertySlotBody):
(GenerateHeader):
(GenerateOverloadedFunction):
(GetIndexedGetterExpression):
(GenerateImplementation):
(GenerateFunctionCastedThis):
(GenerateCallWith):
(GenerateArgumentsCountCheck):
(GenerateParametersCheck):
(GenerateReturnParameters):
(GenerateCallbackHeader):
(GenerateCallbackImplementation):
(GenerateImplementationFunctionCall):
(JSValueToNative):
(NativeToJSValue):
(GenerateOverloadedConstructorDefinition):
(GenerateConstructorDefinition):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorh">trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBObjectStoreh">trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyCursorcpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyCursorh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStorecpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStoreh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamCapabilityRangecpp">trunk/Source/WebCore/Modules/mediastream/CapabilityRange.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamCapabilityRangeh">trunk/Source/WebCore/Modules/mediastream/CapabilityRange.h</a></li>
<li><a href="#trunkSourceWebCoreModulesstreamsReadableStreamControllerh">trunk/Source/WebCore/Modules/streams/ReadableStreamController.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjecth">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCallbackcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCallbackh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCallbackFunctioncpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCallbackFunctionh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjectcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjecth">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGetterh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargeth">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptionh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachableh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfaceh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenerh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNodecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministich">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorsh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinsh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfaceh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefsh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributeh">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlyh">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/ChangeLog        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -1,3 +1,53 @@
</span><ins>+2015-09-20  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        [CallWith=ScriptState] should pass ExecState to the implementation by reference
+        https://bugs.webkit.org/show_bug.cgi?id=149378
+
+        Reviewed by Sam Weinig.
+
+        [CallWith=ScriptState] should pass ExecState to the implementation by
+        reference instead of pointer, as it is expected to be non-null.
+
+        Also rename the ExecState variables from 'exec' to 'state' in the
+        bindings as this is the preferred naming convention.
+
+        * Modules/indexeddb/IDBCursor.h:
+        * Modules/indexeddb/IDBObjectStore.h:
+        * Modules/indexeddb/legacy/LegacyCursor.cpp:
+        (WebCore::LegacyCursor::update):
+        * Modules/indexeddb/legacy/LegacyCursor.h:
+        * Modules/indexeddb/legacy/LegacyObjectStore.cpp:
+        (WebCore::LegacyObjectStore::add):
+        (WebCore::LegacyObjectStore::put):
+        * Modules/indexeddb/legacy/LegacyObjectStore.h:
+        * Modules/mediastream/CapabilityRange.cpp:
+        (WebCore::scriptValue):
+        (WebCore::CapabilityRange::min):
+        (WebCore::CapabilityRange::max):
+        * Modules/mediastream/CapabilityRange.h:
+        * Modules/streams/ReadableStreamController.h:
+        (WebCore::ReadableStreamController::error):
+        (WebCore::ReadableStreamController::enqueue):
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateEventListenerCall):
+        (GenerateGetOwnPropertySlotBody):
+        (GenerateHeader):
+        (GenerateOverloadedFunction):
+        (GetIndexedGetterExpression):
+        (GenerateImplementation):
+        (GenerateFunctionCastedThis):
+        (GenerateCallWith):
+        (GenerateArgumentsCountCheck):
+        (GenerateParametersCheck):
+        (GenerateReturnParameters):
+        (GenerateCallbackHeader):
+        (GenerateCallbackImplementation):
+        (GenerateImplementationFunctionCall):
+        (JSValueToNative):
+        (NativeToJSValue):
+        (GenerateOverloadedConstructorDefinition):
+        (GenerateConstructorDefinition):
+
</ins><span class="cx"> 2015-09-20  Youenn Fablet  &lt;youenn.fablet@crf.canon.fr&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove XHR_TIMEOUT compilation guard
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx">     virtual const Deprecated::ScriptValue&amp; value() const = 0;
</span><span class="cx">     virtual IDBAny* source() const = 0;
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; update(JSC::ExecState*, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
</del><ins>+    virtual PassRefPtr&lt;IDBRequest&gt; update(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
</ins><span class="cx">     virtual void advance(unsigned long, ExceptionCode&amp;) = 0;
</span><span class="cx">     // FIXME: Try to modify the code generator so this overload is unneeded.
</span><span class="cx">     virtual void continueFunction(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBObjectStoreh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -68,8 +68,8 @@
</span><span class="cx">     virtual PassRefPtr&lt;IDBTransaction&gt; transaction() const = 0;
</span><span class="cx">     virtual bool autoIncrement() const = 0;
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState*, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState*, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
</del><ins>+    virtual PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
+    virtual PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
</ins><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</span><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
</span><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</span><span class="lines">@@ -78,8 +78,8 @@
</span><span class="cx"> 
</span><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</span><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState*, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState*, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</del><ins>+    virtual PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</ins><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
</span><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</span><span class="cx">     virtual PassRefPtr&lt;IDBRequest&gt; clear(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyCursorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">     return m_source.get();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyCursor::update(JSC::ExecState* state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;IDBRequest&gt; LegacyCursor::update(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyCursor::update&quot;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyCursorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx">     const Deprecated::ScriptValue&amp; value() const;
</span><span class="cx">     IDBAny* source() const;
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBRequest&gt; update(JSC::ExecState*, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
</del><ins>+    PassRefPtr&lt;IDBRequest&gt; update(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
</ins><span class="cx">     void advance(unsigned long, ExceptionCode&amp;);
</span><span class="cx">     // FIXME: Try to modify the code generator so this overload is unneeded.
</span><span class="cx">     void continueFunction(ScriptExecutionContext*, ExceptionCode&amp; ec) { continueFunction(static_cast&lt;IDBKey*&gt;(nullptr), ec); }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStorecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -96,39 +96,39 @@
</span><span class="cx">     return get(context, keyRange.release(), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState* state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::add&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOnly, LegacyAny::create(this), state, value, key, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState* state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::add&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOnly, LegacyAny::create(this), state, value, static_cast&lt;IDBKey*&gt;(nullptr), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState* state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::put&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOrUpdate, LegacyAny::create(this), state, value, key, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState* state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::put&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOrUpdate, LegacyAny::create(this), state, value, static_cast&lt;IDBKey*&gt;(nullptr), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState* state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; keyValue, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; keyValue, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><del>-    ScriptExecutionContext* context = scriptExecutionContextFromExecState(state);
</del><ins>+    ScriptExecutionContext* context = scriptExecutionContextFromExecState(&amp;state);
</ins><span class="cx">     DOMRequestState requestState(context);
</span><span class="cx">     RefPtr&lt;IDBKey&gt; key = scriptValueToIDBKey(&amp;requestState, keyValue);
</span><span class="cx">     return put(putMode, source, state, value, key.release(), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState* state, Deprecated::ScriptValue&amp; value, PassRefPtr&lt;IDBKey&gt; prpKey, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, PassRefPtr&lt;IDBKey&gt; prpKey, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;IDBKey&gt; key = prpKey;
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -144,8 +144,8 @@
</span><span class="cx">         return nullptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;SerializedScriptValue&gt; serializedValue = SerializedScriptValue::create(state, value.jsValue(), nullptr, nullptr);
-    if (state-&gt;hadException())
</del><ins>+    RefPtr&lt;SerializedScriptValue&gt; serializedValue = SerializedScriptValue::create(&amp;state, value.jsValue(), nullptr, nullptr);
+    if (state.hadException())
</ins><span class="cx">         return nullptr;
</span><span class="cx"> 
</span><span class="cx">     if (serializedValue-&gt;hasBlobURLs()) {
</span><span class="lines">@@ -158,7 +158,7 @@
</span><span class="cx">     const bool usesInLineKeys = !keyPath.isNull();
</span><span class="cx">     const bool hasKeyGenerator = autoIncrement();
</span><span class="cx"> 
</span><del>-    ScriptExecutionContext* context = scriptExecutionContextFromExecState(state);
</del><ins>+    ScriptExecutionContext* context = scriptExecutionContextFromExecState(&amp;state);
</ins><span class="cx">     DOMRequestState requestState(context);
</span><span class="cx"> 
</span><span class="cx">     if (putMode != IDBDatabaseBackend::CursorUpdate &amp;&amp; usesInLineKeys &amp;&amp; key) {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStoreh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -68,8 +68,8 @@
</span><span class="cx">     PassRefPtr&lt;IDBTransaction&gt; transaction() const { return m_transaction; }
</span><span class="cx">     bool autoIncrement() const { return m_metadata.autoIncrement; }
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState*, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState*, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
</del><ins>+    PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
+    PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
</ins><span class="cx">     PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;);
</span><span class="cx">     PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;);
</span><span class="cx">     PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</span><span class="lines">@@ -79,10 +79,10 @@
</span><span class="cx"> 
</span><span class="cx">     PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</span><span class="cx">     PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;);
</span><del>-    PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState*, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState*, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, PassRefPtr&lt;LegacyAny&gt;, JSC::ExecState*, Deprecated::ScriptValue&amp;, PassRefPtr&lt;IDBKey&gt;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState*, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</del><ins>+    PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
+    PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
+    PassRefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, PassRefPtr&lt;LegacyAny&gt;, JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, PassRefPtr&lt;IDBKey&gt;, ExceptionCode&amp;);
+    PassRefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><span class="cx">     PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;);
</span><span class="cx">     PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamCapabilityRangecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/CapabilityRange.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/CapabilityRange.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/mediastream/CapabilityRange.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static Deprecated::ScriptValue scriptValue(ExecState* exec, const RealtimeMediaSourceCapabilityRange::ValueUnion&amp; value, RealtimeMediaSourceCapabilityRange::Type type)
</del><ins>+static Deprecated::ScriptValue scriptValue(ExecState&amp; state, const RealtimeMediaSourceCapabilityRange::ValueUnion&amp; value, RealtimeMediaSourceCapabilityRange::Type type)
</ins><span class="cx"> {
</span><span class="cx">     // NOTE: the spec says:
</span><span class="cx">     //      ... an implementation should make a reasonable attempt to translate and scale the hardware's setting
</span><span class="lines">@@ -63,28 +63,28 @@
</span><span class="cx">     
</span><span class="cx">     switch (type) {
</span><span class="cx">     case RealtimeMediaSourceCapabilityRange::Float:
</span><del>-        return Deprecated::ScriptValue(exec-&gt;vm(), JSValue(value.asFloat));
</del><ins>+        return Deprecated::ScriptValue(state.vm(), JSValue(value.asFloat));
</ins><span class="cx">         break;
</span><span class="cx">     case RealtimeMediaSourceCapabilityRange::ULong:
</span><del>-        return Deprecated::ScriptValue(exec-&gt;vm(), JSValue(value.asULong));
</del><ins>+        return Deprecated::ScriptValue(state.vm(), JSValue(value.asULong));
</ins><span class="cx">         break;
</span><span class="cx">     case RealtimeMediaSourceCapabilityRange::Undefined:
</span><del>-        return Deprecated::ScriptValue(exec-&gt;vm(), jsUndefined());
</del><ins>+        return Deprecated::ScriptValue(state.vm(), jsUndefined());
</ins><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><del>-    return Deprecated::ScriptValue(exec-&gt;vm(), jsUndefined());
</del><ins>+    return Deprecated::ScriptValue(state.vm(), jsUndefined());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-Deprecated::ScriptValue CapabilityRange::min(ExecState* exec) const
</del><ins>+Deprecated::ScriptValue CapabilityRange::min(ExecState&amp; state) const
</ins><span class="cx"> {
</span><del>-    return scriptValue(exec, m_rangeInfo.min(), m_rangeInfo.type());
</del><ins>+    return scriptValue(state, m_rangeInfo.min(), m_rangeInfo.type());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-Deprecated::ScriptValue CapabilityRange::max(ExecState* exec) const
</del><ins>+Deprecated::ScriptValue CapabilityRange::max(ExecState&amp; state) const
</ins><span class="cx"> {
</span><del>-    return scriptValue(exec, m_rangeInfo.max(), m_rangeInfo.type());
</del><ins>+    return scriptValue(state, m_rangeInfo.max(), m_rangeInfo.type());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamCapabilityRangeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/CapabilityRange.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/CapabilityRange.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/mediastream/CapabilityRange.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -43,8 +43,8 @@
</span><span class="cx"> 
</span><span class="cx">     static Ref&lt;CapabilityRange&gt; create(const RealtimeMediaSourceCapabilityRange&amp;);
</span><span class="cx"> 
</span><del>-    Deprecated::ScriptValue min(JSC::ExecState*) const;
-    Deprecated::ScriptValue max(JSC::ExecState*) const;
</del><ins>+    Deprecated::ScriptValue min(JSC::ExecState&amp;) const;
+    Deprecated::ScriptValue max(JSC::ExecState&amp;) const;
</ins><span class="cx">     bool supported() const { return m_rangeInfo.supported(); }
</span><span class="cx"> 
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesstreamsReadableStreamControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/streams/ReadableStreamController.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/streams/ReadableStreamController.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/Modules/streams/ReadableStreamController.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -48,9 +48,9 @@
</span><span class="cx"> 
</span><span class="cx">     ReadableJSStream&amp; stream() { return m_stream; }
</span><span class="cx"> 
</span><del>-    void error(JSC::ExecState* state, JSC::JSValue value, ExceptionCode&amp; ec) { m_stream.error(*state, value, ec); }
</del><ins>+    void error(JSC::ExecState&amp; state, JSC::JSValue value, ExceptionCode&amp; ec) { m_stream.error(state, value, ec); }
</ins><span class="cx"> 
</span><del>-    void enqueue(JSC::ExecState* state, JSC::JSValue value) { m_stream.enqueue(*state, value); }
</del><ins>+    void enqueue(JSC::ExecState&amp; state, JSC::JSValue value) { m_stream.enqueue(state, value); }
</ins><span class="cx"> 
</span><span class="cx">     void ref() { m_stream.ref(); }
</span><span class="cx">     void deref() { m_stream.deref(); }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -166,10 +166,10 @@
</span><span class="cx">     my @GenerateEventListenerImpl = ();
</span><span class="cx"> 
</span><span class="cx">     push(@GenerateEventListenerImpl, &lt;&lt;END);
</span><del>-    JSValue listener = exec-&gt;argument(1);
</del><ins>+    JSValue listener = state-&gt;argument(1);
</ins><span class="cx">     if (UNLIKELY(!listener.isObject()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    impl.${functionName}EventListener(exec-&gt;argument(0).toString(exec)-&gt;toAtomicString(exec), createJSEventListenerFor$suffix(*exec, *asObject(listener), *castedThis)$passRefPtrHandling, exec-&gt;argument(2).toBoolean(exec));
</del><ins>+    impl.${functionName}EventListener(state-&gt;argument(0).toString(state)-&gt;toAtomicString(state), createJSEventListenerFor$suffix(*state, *asObject(listener), *castedThis)$passRefPtrHandling, state-&gt;argument(2).toBoolean(state));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> END
</span><span class="cx">     return @GenerateEventListenerImpl;
</span><span class="lines">@@ -392,12 +392,12 @@
</span><span class="cx">     my $ownPropertyCheck = sub {
</span><span class="cx">         if ($hasAttributes) {
</span><span class="cx">             if ($inlined) {
</span><del>-                push(@getOwnPropertySlotImpl, &quot;    if (${namespaceMaybe}getStaticValueSlot&lt;$className, Base&gt;(exec, *info()-&gt;staticPropHashTable, thisObject, propertyName, slot))\n&quot;);
</del><ins>+                push(@getOwnPropertySlotImpl, &quot;    if (${namespaceMaybe}getStaticValueSlot&lt;$className, Base&gt;(state, *info()-&gt;staticPropHashTable, thisObject, propertyName, slot))\n&quot;);
</ins><span class="cx">             } else {
</span><del>-                push(@getOwnPropertySlotImpl, &quot;    if (${namespaceMaybe}getStaticValueSlot&lt;$className, Base&gt;(exec, ${className}Table, thisObject, propertyName, slot))\n&quot;);
</del><ins>+                push(@getOwnPropertySlotImpl, &quot;    if (${namespaceMaybe}getStaticValueSlot&lt;$className, Base&gt;(state, ${className}Table, thisObject, propertyName, slot))\n&quot;);
</ins><span class="cx">             }
</span><span class="cx">         } else {
</span><del>-            push(@getOwnPropertySlotImpl, &quot;    if (Base::getOwnPropertySlot(thisObject, exec, propertyName, slot))\n&quot;);
</del><ins>+            push(@getOwnPropertySlotImpl, &quot;    if (Base::getOwnPropertySlot(thisObject, state, propertyName, slot))\n&quot;);
</ins><span class="cx">         }
</span><span class="cx">         push(@getOwnPropertySlotImpl, &quot;        return true;\n&quot;);
</span><span class="cx">     };
</span><span class="lines">@@ -407,7 +407,7 @@
</span><span class="cx">     # https://heycam.github.io/webidl/#dfn-named-properties-object
</span><span class="cx">     my $prototypeCheck = sub {
</span><span class="cx">         push(@getOwnPropertySlotImpl, &quot;    ${namespaceMaybe}JSValue proto = thisObject-&gt;prototype();\n&quot;);
</span><del>-        push(@getOwnPropertySlotImpl, &quot;    if (proto.isObject() &amp;&amp; jsCast&lt;${namespaceMaybe}JSObject*&gt;(proto)-&gt;hasProperty(exec, propertyName))\n&quot;);
</del><ins>+        push(@getOwnPropertySlotImpl, &quot;    if (proto.isObject() &amp;&amp; jsCast&lt;${namespaceMaybe}JSObject*&gt;(proto)-&gt;hasProperty(state, propertyName))\n&quot;);
</ins><span class="cx">         push(@getOwnPropertySlotImpl, &quot;        return false;\n\n&quot;);
</span><span class="cx">     };
</span><span class="cx"> 
</span><span class="lines">@@ -443,7 +443,7 @@
</span><span class="cx">         # This condition is to make sure we use the subclass' named getter instead of the base class one when possible.
</span><span class="cx">         push(@getOwnPropertySlotImpl, &quot;    if (thisObject-&gt;classInfo() == info()) {\n&quot;);
</span><span class="cx">         push(@getOwnPropertySlotImpl, &quot;        JSValue value;\n&quot;);
</span><del>-        push(@getOwnPropertySlotImpl, &quot;        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {\n&quot;);
</del><ins>+        push(@getOwnPropertySlotImpl, &quot;        if (thisObject-&gt;nameGetter(state, propertyName, value)) {\n&quot;);
</ins><span class="cx">         push(@getOwnPropertySlotImpl, &quot;            slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);\n&quot;);
</span><span class="cx">         push(@getOwnPropertySlotImpl, &quot;            return true;\n&quot;);
</span><span class="cx">         push(@getOwnPropertySlotImpl, &quot;        }\n&quot;);
</span><span class="lines">@@ -456,7 +456,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($interface-&gt;extendedAttributes-&gt;{&quot;JSCustomGetOwnPropertySlotAndDescriptor&quot;}) {
</span><del>-        push(@getOwnPropertySlotImpl, &quot;    if (thisObject-&gt;getOwnPropertySlotDelegate(exec, propertyName, slot))\n&quot;);
</del><ins>+        push(@getOwnPropertySlotImpl, &quot;    if (thisObject-&gt;getOwnPropertySlotDelegate(state, propertyName, slot))\n&quot;);
</ins><span class="cx">         push(@getOwnPropertySlotImpl, &quot;        return true;\n&quot;);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -1205,7 +1205,7 @@
</span><span class="cx">         } else {
</span><span class="cx">             push(@headerContent, $exportLabel.&quot;JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, $implType*);\n&quot;);
</span><span class="cx">         }
</span><del>-        push(@headerContent, &quot;inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, $implType&amp; impl) { return toJS(exec, globalObject, &amp;impl); }\n&quot;);
</del><ins>+        push(@headerContent, &quot;inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, $implType&amp; impl) { return toJS(state, globalObject, &amp;impl); }\n&quot;);
</ins><span class="cx"> 
</span><span class="cx">         push(@headerContent, &quot;JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, $implType*);\n&quot;);
</span><span class="cx">     }
</span><span class="lines">@@ -1494,10 +1494,10 @@
</span><span class="cx">     # FIXME: Implement support for overloaded functions with variadic arguments.
</span><span class="cx">     my $lengthOfLongestOverloadedFunctionParameterList = LengthOfLongestFunctionParameterList($function-&gt;{overloads});
</span><span class="cx"> 
</span><del>-    push(@implContent, &quot;EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)\n&quot;);
</del><ins>+    push(@implContent, &quot;EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* state)\n&quot;);
</ins><span class="cx">     push(@implContent, &lt;&lt;END);
</span><span class="cx"> {
</span><del>-    size_t argsCount = std::min&lt;size_t&gt;($lengthOfLongestOverloadedFunctionParameterList, exec-&gt;argumentCount());
</del><ins>+    size_t argsCount = std::min&lt;size_t&gt;($lengthOfLongestOverloadedFunctionParameterList, state-&gt;argumentCount());
</ins><span class="cx"> END
</span><span class="cx"> 
</span><span class="cx">     my %fetchedArguments = ();
</span><span class="lines">@@ -1509,7 +1509,7 @@
</span><span class="cx"> 
</span><span class="cx">         foreach my $parameterIndex (@neededArguments) {
</span><span class="cx">             next if exists $fetchedArguments{$parameterIndex};
</span><del>-            push(@implContent, &quot;    JSValue arg$parameterIndex(exec-&gt;argument($parameterIndex));\n&quot;);
</del><ins>+            push(@implContent, &quot;    JSValue arg$parameterIndex(state-&gt;argument($parameterIndex));\n&quot;);
</ins><span class="cx">             $fetchedArguments{$parameterIndex} = 1;
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -1517,16 +1517,16 @@
</span><span class="cx">         push(@implContent, &quot;#if ${conditionalString}\n&quot;) if $conditionalString;
</span><span class="cx"> 
</span><span class="cx">         push(@implContent, &quot;    if ($parametersCheck)\n&quot;);
</span><del>-        push(@implContent, &quot;        return ${functionName}$overload-&gt;{overloadIndex}(exec);\n&quot;);
</del><ins>+        push(@implContent, &quot;        return ${functionName}$overload-&gt;{overloadIndex}(state);\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;#endif\n\n&quot;) if $conditionalString;
</span><span class="cx"> 
</span><span class="cx">     }
</span><span class="cx">     if ($leastNumMandatoryParams &gt;= 1) {
</span><span class="cx">         push(@implContent, &quot;    if (argsCount &lt; $leastNumMandatoryParams)\n&quot;);
</span><del>-        push(@implContent, &quot;        return throwVMError(exec, createNotEnoughArgumentsError(exec));\n&quot;);
</del><ins>+        push(@implContent, &quot;        return throwVMError(state, createNotEnoughArgumentsError(state));\n&quot;);
</ins><span class="cx">     }
</span><span class="cx">     push(@implContent, &lt;&lt;END);
</span><del>-    return throwVMTypeError(exec);
</del><ins>+    return throwVMTypeError(state);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> END
</span><span class="lines">@@ -1703,9 +1703,9 @@
</span><span class="cx"> {
</span><span class="cx">     my $indexedGetterFunction = shift;
</span><span class="cx">     if ($indexedGetterFunction-&gt;signature-&gt;type eq &quot;DOMString&quot;) {
</span><del>-        return &quot;jsStringOrUndefined(exec, thisObject-&gt;impl().item(index))&quot;;
</del><ins>+        return &quot;jsStringOrUndefined(state, thisObject-&gt;impl().item(index))&quot;;
</ins><span class="cx">     }
</span><del>-    return &quot;toJS(exec, thisObject-&gt;globalObject(), thisObject-&gt;impl().item(index))&quot;;
</del><ins>+    return &quot;toJS(state, thisObject-&gt;globalObject(), thisObject-&gt;impl().item(index))&quot;;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> sub GenerateImplementation
</span><span class="lines">@@ -2021,20 +2021,20 @@
</span><span class="cx">     if (PrototypeOverridesGetOwnPropertySlot($interface)) {
</span><span class="cx">         my $numPrototypeAttributes = PrototypeAttributeCount($interface);
</span><span class="cx">         if (IsDOMGlobalObject($interface)) {
</span><del>-            push(@implContent, &quot;bool ${className}Prototype::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)\n&quot;);
</del><ins>+            push(@implContent, &quot;bool ${className}Prototype::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><del>-            push(@implContent, &quot;    VM&amp; vm = exec-&gt;vm();\n&quot;);
</del><ins>+            push(@implContent, &quot;    VM&amp; vm = state-&gt;vm();\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;    UNUSED_PARAM(vm);\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    auto* thisObject = jsCast&lt;${className}Prototype*&gt;(object);\n&quot;);
</span><span class="cx"> 
</span><span class="cx">             if ($numConstants eq 0 &amp;&amp; $numFunctions eq 0 &amp;&amp; $numPrototypeAttributes eq 0) {
</span><del>-                push(@implContent, &quot;    return Base::getOwnPropertySlot(thisObject, exec, propertyName, slot);\n&quot;);        
</del><ins>+                push(@implContent, &quot;    return Base::getOwnPropertySlot(thisObject, state, propertyName, slot);\n&quot;);        
</ins><span class="cx">             } elsif ($numConstants eq 0 &amp;&amp; $numPrototypeAttributes eq 0) {
</span><del>-                push(@implContent, &quot;    return getStaticFunctionSlot&lt;JSObject&gt;(exec, ${className}PrototypeTable, thisObject, propertyName, slot);\n&quot;);
</del><ins>+                push(@implContent, &quot;    return getStaticFunctionSlot&lt;JSObject&gt;(state, ${className}PrototypeTable, thisObject, propertyName, slot);\n&quot;);
</ins><span class="cx">             } elsif ($numFunctions eq 0 &amp;&amp; $numPrototypeAttributes eq 0) {
</span><del>-                push(@implContent, &quot;    return getStaticValueSlot&lt;${className}Prototype, JSObject&gt;(exec, ${className}PrototypeTable, thisObject, propertyName, slot);\n&quot;);
</del><ins>+                push(@implContent, &quot;    return getStaticValueSlot&lt;${className}Prototype, JSObject&gt;(state, ${className}PrototypeTable, thisObject, propertyName, slot);\n&quot;);
</ins><span class="cx">             } else {
</span><del>-                push(@implContent, &quot;    return getStaticPropertySlot&lt;${className}Prototype, JSObject&gt;(exec, ${className}PrototypeTable, thisObject, propertyName, slot);\n&quot;);
</del><ins>+                push(@implContent, &quot;    return getStaticPropertySlot&lt;${className}Prototype, JSObject&gt;(state, ${className}PrototypeTable, thisObject, propertyName, slot);\n&quot;);
</ins><span class="cx">             }
</span><span class="cx">             push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx">         } elsif ($numConstants &gt; 0 || $numFunctions &gt; 0 || $numPrototypeAttributes &gt; 0) {
</span><span class="lines">@@ -2066,12 +2066,12 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($interface-&gt;extendedAttributes-&gt;{&quot;JSCustomNamedGetterOnPrototype&quot;}) {
</span><del>-        push(@implContent, &quot;void ${className}Prototype::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot&amp; slot)\n&quot;);
</del><ins>+        push(@implContent, &quot;void ${className}Prototype::put(JSCell* cell, ExecState* state, PropertyName propertyName, JSValue value, PutPropertySlot&amp; slot)\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;{\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    auto* thisObject = jsCast&lt;${className}Prototype*&gt;(cell);\n&quot;);
</span><del>-        push(@implContent, &quot;    if (thisObject-&gt;putDelegate(exec, propertyName, value, slot))\n&quot;);
</del><ins>+        push(@implContent, &quot;    if (thisObject-&gt;putDelegate(state, propertyName, value, slot))\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;        return;\n&quot;);
</span><del>-        push(@implContent, &quot;    Base::put(thisObject, exec, propertyName, value, slot);\n&quot;);
</del><ins>+        push(@implContent, &quot;    Base::put(thisObject, state, propertyName, value, slot);\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -2152,7 +2152,7 @@
</span><span class="cx">     # Attributes
</span><span class="cx">     if ($hasGetter) {
</span><span class="cx">         if (!$interface-&gt;extendedAttributes-&gt;{&quot;CustomGetOwnPropertySlot&quot;}) {
</span><del>-            push(@implContent, &quot;bool ${className}::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)\n&quot;);
</del><ins>+            push(@implContent, &quot;bool ${className}::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    auto* thisObject = jsCast&lt;${className}*&gt;(object);\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n&quot;);
</span><span class="lines">@@ -2163,7 +2163,7 @@
</span><span class="cx">         if ($indexedGetterFunction || $namedGetterFunction
</span><span class="cx">                 || $interface-&gt;extendedAttributes-&gt;{&quot;CustomNamedGetter&quot;}
</span><span class="cx">                 || $interface-&gt;extendedAttributes-&gt;{&quot;JSCustomGetOwnPropertySlotAndDescriptor&quot;}) {
</span><del>-            push(@implContent, &quot;bool ${className}::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned index, PropertySlot&amp; slot)\n&quot;);
</del><ins>+            push(@implContent, &quot;bool ${className}::getOwnPropertySlotByIndex(JSObject* object, ExecState* state, unsigned index, PropertySlot&amp; slot)\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    auto* thisObject = jsCast&lt;${className}*&gt;(object);\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n&quot;);
</span><span class="lines">@@ -2175,7 +2175,7 @@
</span><span class="cx">                 if ($generatedPropertyName) {
</span><span class="cx">                     return;
</span><span class="cx">                 }
</span><del>-                push(@implContent, &quot;    Identifier propertyName = Identifier::from(exec, index);\n&quot;);
</del><ins>+                push(@implContent, &quot;    Identifier propertyName = Identifier::from(state, index);\n&quot;);
</ins><span class="cx">                 $generatedPropertyName = 1;
</span><span class="cx">             };
</span><span class="cx"> 
</span><span class="lines">@@ -2202,7 +2202,7 @@
</span><span class="cx">                 # This condition is to make sure we use the subclass' named getter instead of the base class one when possible.
</span><span class="cx">                 push(@implContent, &quot;    if (thisObject-&gt;classInfo() == info()) {\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;        JSValue value;\n&quot;);
</span><del>-                push(@implContent, &quot;        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {\n&quot;);
</del><ins>+                push(@implContent, &quot;        if (thisObject-&gt;nameGetter(state, propertyName, value)) {\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;            slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;            return true;\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;        }\n&quot;);
</span><span class="lines">@@ -2212,11 +2212,11 @@
</span><span class="cx"> 
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;JSCustomGetOwnPropertySlotAndDescriptor&quot;}) {
</span><span class="cx">                 &amp;$propertyNameGeneration();
</span><del>-                push(@implContent, &quot;    if (thisObject-&gt;getOwnPropertySlotDelegate(exec, propertyName, slot))\n&quot;);
</del><ins>+                push(@implContent, &quot;    if (thisObject-&gt;getOwnPropertySlotDelegate(state, propertyName, slot))\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;        return true;\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><del>-            push(@implContent, &quot;    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);\n&quot;);
</del><ins>+            push(@implContent, &quot;    return Base::getOwnPropertySlotByIndex(thisObject, state, index, slot);\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -2235,10 +2235,10 @@
</span><span class="cx">             my $attributeConditionalString = $codeGenerator-&gt;GenerateConditionalString($attribute-&gt;signature);
</span><span class="cx">             push(@implContent, &quot;#if ${attributeConditionalString}\n&quot;) if $attributeConditionalString;
</span><span class="cx"> 
</span><del>-            push(@implContent, &quot;EncodedJSValue ${getFunctionName}(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)\n&quot;);
</del><ins>+            push(@implContent, &quot;EncodedJSValue ${getFunctionName}(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="cx"> 
</span><del>-            push(@implContent, &quot;    UNUSED_PARAM(exec);\n&quot;);
</del><ins>+            push(@implContent, &quot;    UNUSED_PARAM(state);\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;    UNUSED_PARAM(slotBase);\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    UNUSED_PARAM(thisValue);\n&quot;);
</span><span class="cx">             if (!$attribute-&gt;isStatic || $attribute-&gt;signature-&gt;type =~ /Constructor$/) {
</span><span class="lines">@@ -2249,14 +2249,14 @@
</span><span class="cx">                     if (InterfaceRequiresAttributesOnInstanceForCompatibility($interface)) {
</span><span class="cx">                         push(@implContent, &quot;    ${className}* castedThisObject = &quot; . GetCastingHelperForThisObject($interface) . &quot;(JSValue::decode(thisValue));\n&quot;);
</span><span class="cx">                         push(@implContent, &quot;    if (UNLIKELY(!castedThisObject))\n&quot;);
</span><del>-                        push(@implContent, &quot;        reportDeprecatedGetterError(*exec, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</del><ins>+                        push(@implContent, &quot;        reportDeprecatedGetterError(*state, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</ins><span class="cx">                     }
</span><span class="cx">                 } else {
</span><span class="cx">                     push(@implContent, &quot;    ${className}* castedThis = &quot; . GetCastingHelperForThisObject($interface) . &quot;(JSValue::decode(thisValue));\n&quot;);
</span><span class="cx">                     push(@implContent, &quot;    if (UNLIKELY(!castedThis)) {\n&quot;);
</span><span class="cx">                     push(@implContent, &quot;        if (jsDynamicCast&lt;${className}Prototype*&gt;(slotBase))\n&quot;);
</span><del>-                    push(@implContent, &quot;            return reportDeprecatedGetterError(*exec, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
-                    push(@implContent, &quot;        return throwGetterTypeError(*exec, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</del><ins>+                    push(@implContent, &quot;            return reportDeprecatedGetterError(*state, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
+                    push(@implContent, &quot;        return throwGetterTypeError(*state, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">                 }
</span><span class="cx">             }
</span><span class="lines">@@ -2293,7 +2293,7 @@
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CheckSecurity&quot;} &amp;&amp;
</span><span class="cx">                 !$attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;DoNotCheckSecurity&quot;} &amp;&amp;
</span><span class="cx">                 !$attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;DoNotCheckSecurityOnGetter&quot;}) {
</span><del>-                push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis-&gt;impl()))\n&quot;);
</del><ins>+                push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis-&gt;impl()))\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="lines">@@ -2303,7 +2303,7 @@
</span><span class="cx">                 AddToImplIncludes(&quot;&lt;wtf/NeverDestroyed.h&gt;&quot;, &quot;WEB_REPLAY&quot;);
</span><span class="cx"> 
</span><span class="cx">                 push(@implContent, &quot;#if ENABLE(WEB_REPLAY)\n&quot;);
</span><del>-                push(@implContent, &quot;    JSGlobalObject* globalObject = exec-&gt;lexicalGlobalObject();\n&quot;);
</del><ins>+                push(@implContent, &quot;    JSGlobalObject* globalObject = state-&gt;lexicalGlobalObject();\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;    InputCursor&amp; cursor = globalObject-&gt;inputCursor();\n&quot;);
</span><span class="cx"> 
</span><span class="cx">                 my $nativeType = GetNativeType($type);
</span><span class="lines">@@ -2314,7 +2314,7 @@
</span><span class="cx">                 push(@implContent, &quot;        $memoizedType memoizedResult = castedThis-&gt;impl().$implGetterFunctionName(&quot; . join(&quot;, &quot;, @arguments) . &quot;);\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;        cursor.appendInput&lt;MemoizedDOMResult&lt;$memoizedType&gt;&gt;(bindingName.get().string(), memoizedResult, $exceptionCode);\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;        JSValue result = &quot; . NativeToJSValue($attribute-&gt;signature, 0, $interfaceName, &quot;memoizedResult&quot;, &quot;castedThis&quot;) . &quot;;\n&quot;);
</span><del>-                push(@implContent, &quot;        setDOMException(exec, ec);\n&quot;) if $getterExceptions;
</del><ins>+                push(@implContent, &quot;        setDOMException(state, ec);\n&quot;) if $getterExceptions;
</ins><span class="cx">                 push(@implContent, &quot;        return JSValue::encode(result);\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;\n&quot;);
</span><span class="lines">@@ -2324,7 +2324,7 @@
</span><span class="cx">                 push(@implContent, &quot;        if (input &amp;&amp; input-&gt;convertTo&lt;$memoizedType&gt;(memoizedResult)) {\n&quot;);
</span><span class="cx">                 # FIXME: the generated code should report an error if an input cannot be fetched or converted.
</span><span class="cx">                 push(@implContent, &quot;            JSValue result = &quot; . NativeToJSValue($attribute-&gt;signature, 0, $interfaceName, &quot;memoizedResult&quot;, &quot;castedThis&quot;) . &quot;;\n&quot;);
</span><del>-                push(@implContent, &quot;            setDOMException(exec, input-&gt;exceptionCode());\n&quot;) if $getterExceptions;
</del><ins>+                push(@implContent, &quot;            setDOMException(state, input-&gt;exceptionCode());\n&quot;) if $getterExceptions;
</ins><span class="cx">                 push(@implContent, &quot;            return JSValue::encode(result);\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;        }\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    }\n&quot;);
</span><span class="lines">@@ -2332,17 +2332,17 @@
</span><span class="cx">             } # attribute Nondeterministic
</span><span class="cx"> 
</span><span class="cx">             if (HasCustomGetter($attribute-&gt;signature-&gt;extendedAttributes)) {
</span><del>-                push(@implContent, &quot;    return JSValue::encode(castedThis-&gt;$implGetterFunctionName(exec));\n&quot;);
</del><ins>+                push(@implContent, &quot;    return JSValue::encode(castedThis-&gt;$implGetterFunctionName(state));\n&quot;);
</ins><span class="cx">             } elsif ($attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CheckSecurityForNode&quot;}) {
</span><span class="cx">                 $implIncludes{&quot;JSDOMBinding.h&quot;} = 1;
</span><span class="cx">                 push(@implContent, &quot;    auto&amp; impl = castedThis-&gt;impl();\n&quot;);
</span><del>-                push(@implContent, &quot;    return JSValue::encode(shouldAllowAccessToNode(exec, impl.&quot; . $attribute-&gt;signature-&gt;name . &quot;()) ? &quot; . NativeToJSValue($attribute-&gt;signature, 0, $interfaceName, &quot;impl.$implGetterFunctionName()&quot;, &quot;castedThis&quot;) . &quot; : jsNull());\n&quot;);
</del><ins>+                push(@implContent, &quot;    return JSValue::encode(shouldAllowAccessToNode(state, impl.&quot; . $attribute-&gt;signature-&gt;name . &quot;()) ? &quot; . NativeToJSValue($attribute-&gt;signature, 0, $interfaceName, &quot;impl.$implGetterFunctionName()&quot;, &quot;castedThis&quot;) . &quot; : jsNull());\n&quot;);
</ins><span class="cx">             } elsif ($type eq &quot;EventHandler&quot;) {
</span><span class="cx">                 my $getter = $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;WindowEventHandler&quot;} ? &quot;windowEventHandlerAttribute&quot;
</span><span class="cx">                     : $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;DocumentEventHandler&quot;} ? &quot;documentEventHandlerAttribute&quot;
</span><span class="cx">                     : &quot;eventHandlerAttribute&quot;;
</span><span class="cx">                 my $eventName = EventHandlerAttributeEventName($attribute);
</span><del>-                push(@implContent, &quot;    UNUSED_PARAM(exec);\n&quot;);
</del><ins>+                push(@implContent, &quot;    UNUSED_PARAM(state);\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;    return JSValue::encode($getter(castedThis-&gt;impl(), $eventName));\n&quot;);
</span><span class="cx">             } elsif ($attribute-&gt;signature-&gt;type =~ /Constructor$/) {
</span><span class="cx">                 my $constructorType = $attribute-&gt;signature-&gt;type;
</span><span class="lines">@@ -2352,10 +2352,10 @@
</span><span class="cx">                 if ($interfaceName eq &quot;DOMWindow&quot;) {
</span><span class="cx">                     my $named = ($constructorType =~ /Named$/) ? &quot;Named&quot; : &quot;&quot;;
</span><span class="cx">                     $constructorType =~ s/Named$//;
</span><del>-                    push(@implContent, &quot;    return JSValue::encode(JS&quot; . $constructorType . &quot;::get${named}Constructor(exec-&gt;vm(), castedThis));\n&quot;);
</del><ins>+                    push(@implContent, &quot;    return JSValue::encode(JS&quot; . $constructorType . &quot;::get${named}Constructor(state-&gt;vm(), castedThis));\n&quot;);
</ins><span class="cx">                 } else {
</span><span class="cx">                     AddToImplIncludes(&quot;JS&quot; . $constructorType . &quot;.h&quot;, $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Conditional&quot;});
</span><del>-                    push(@implContent, &quot;    return JSValue::encode(JS&quot; . $constructorType . &quot;::getConstructor(exec-&gt;vm(), castedThis-&gt;globalObject()));\n&quot;);
</del><ins>+                    push(@implContent, &quot;    return JSValue::encode(JS&quot; . $constructorType . &quot;::getConstructor(state-&gt;vm(), castedThis-&gt;globalObject()));\n&quot;);
</ins><span class="cx">                 }
</span><span class="cx">             } elsif (!$attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;GetterRaisesException&quot;}) {
</span><span class="cx">                 push(@implContent, &quot;    bool isNull = false;\n&quot;) if $isNullable;
</span><span class="lines">@@ -2399,7 +2399,7 @@
</span><span class="cx">                     push(@implContent, &quot;    auto&amp; impl = castedThis-&gt;impl();\n&quot;) if !$attribute-&gt;isStatic;
</span><span class="cx">                     if ($codeGenerator-&gt;IsSVGAnimatedType($type)) {
</span><span class="cx">                         push(@implContent, &quot;    RefPtr&lt;$type&gt; obj = $jsType;\n&quot;);
</span><del>-                        push(@implContent, &quot;    JSValue result = toJS(exec, castedThis-&gt;globalObject(), obj.get());\n&quot;);
</del><ins>+                        push(@implContent, &quot;    JSValue result = toJS(state, castedThis-&gt;globalObject(), obj.get());\n&quot;);
</ins><span class="cx">                     } else {
</span><span class="cx">                         push(@implContent, &quot;    JSValue result = $jsType;\n&quot;);
</span><span class="cx">                     }
</span><span class="lines">@@ -2410,7 +2410,7 @@
</span><span class="cx">                     }
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                push(@implContent, &quot;    castedThis-&gt;m_&quot; . $attribute-&gt;signature-&gt;name . &quot;.set(exec-&gt;vm(), castedThis, result);\n&quot;) if ($attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CachedAttribute&quot;});
</del><ins>+                push(@implContent, &quot;    castedThis-&gt;m_&quot; . $attribute-&gt;signature-&gt;name . &quot;.set(state-&gt;vm(), castedThis, result);\n&quot;) if ($attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CachedAttribute&quot;});
</ins><span class="cx">                 push(@implContent, &quot;    return JSValue::encode(result);\n&quot;);
</span><span class="cx"> 
</span><span class="cx">             } else {
</span><span class="lines">@@ -2429,7 +2429,7 @@
</span><span class="cx">                     push(@implContent, &quot;    JSValue result = &quot; . NativeToJSValue($attribute-&gt;signature, 0, $interfaceName, &quot;impl.$implGetterFunctionName(&quot; . join(&quot;, &quot;, @arguments) . &quot;)&quot;, &quot;castedThis&quot;) . &quot;;\n&quot;);
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                push(@implContent, &quot;    setDOMException(exec, ec);\n&quot;);
</del><ins>+                push(@implContent, &quot;    setDOMException(state, ec);\n&quot;);
</ins><span class="cx"> 
</span><span class="cx">                 if ($isNullable) {
</span><span class="cx">                     push(@implContent, &quot;    if (isNull)\n&quot;);
</span><span class="lines">@@ -2450,33 +2450,33 @@
</span><span class="cx">             my $constructorFunctionName = &quot;js&quot; . $interfaceName . &quot;Constructor&quot;;
</span><span class="cx"> 
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomProxyToJSObject&quot;}) {
</span><del>-                push(@implContent, &quot;EncodedJSValue ${constructorFunctionName}(ExecState* exec, JSObject*, EncodedJSValue thisValue, PropertyName)\n&quot;);
</del><ins>+                push(@implContent, &quot;EncodedJSValue ${constructorFunctionName}(ExecState* state, JSObject*, EncodedJSValue thisValue, PropertyName)\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;{\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    ${className}* domObject = to${className}(JSValue::decode(thisValue));\n&quot;);
</span><span class="cx">             } elsif (ConstructorShouldBeOnInstance($interface)) {
</span><del>-                push(@implContent, &quot;EncodedJSValue ${constructorFunctionName}(ExecState* exec, JSObject*, EncodedJSValue thisValue, PropertyName)\n&quot;);
</del><ins>+                push(@implContent, &quot;EncodedJSValue ${constructorFunctionName}(ExecState* state, JSObject*, EncodedJSValue thisValue, PropertyName)\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;{\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    ${className}* domObject = &quot; . GetCastingHelperForThisObject($interface) . &quot;(JSValue::decode(thisValue));\n&quot;);
</span><span class="cx">             } else {
</span><del>-                push(@implContent, &quot;EncodedJSValue ${constructorFunctionName}(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)\n&quot;);
</del><ins>+                push(@implContent, &quot;EncodedJSValue ${constructorFunctionName}(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;{\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    ${className}Prototype* domObject = jsDynamicCast&lt;${className}Prototype*&gt;(baseValue);\n&quot;);
</span><span class="cx">             }
</span><span class="cx">             push(@implContent, &quot;    if (!domObject)\n&quot;);
</span><del>-            push(@implContent, &quot;        return throwVMTypeError(exec);\n&quot;);
</del><ins>+            push(@implContent, &quot;        return throwVMTypeError(state);\n&quot;);
</ins><span class="cx"> 
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CheckSecurity&quot;}) {
</span><span class="cx">                 die if !ConstructorShouldBeOnInstance($interface);
</span><del>-                push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, domObject-&gt;impl()))\n&quot;);
</del><ins>+                push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, domObject-&gt;impl()))\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             if (!$interface-&gt;extendedAttributes-&gt;{&quot;NoInterfaceObject&quot;}) {
</span><del>-                push(@implContent, &quot;    return JSValue::encode(${className}::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));\n&quot;);
</del><ins>+                push(@implContent, &quot;    return JSValue::encode(${className}::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));\n&quot;);
</ins><span class="cx">             } else {
</span><del>-                push(@implContent, &quot;    JSValue constructor = ${className}Constructor::create(exec-&gt;vm(), ${className}Constructor::createStructure(exec-&gt;vm(), domObject-&gt;globalObject(), domObject-&gt;globalObject()-&gt;objectPrototype()), jsCast&lt;JSDOMGlobalObject*&gt;(domObject-&gt;globalObject()));\n&quot;);
</del><ins>+                push(@implContent, &quot;    JSValue constructor = ${className}Constructor::create(state-&gt;vm(), ${className}Constructor::createStructure(state-&gt;vm(), domObject-&gt;globalObject(), domObject-&gt;globalObject()-&gt;objectPrototype()), jsCast&lt;JSDOMGlobalObject*&gt;(domObject-&gt;globalObject()));\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;    // Shadowing constructor property to ensure reusing the same constructor object\n&quot;);
</span><del>-                push(@implContent, &quot;    domObject-&gt;putDirect(exec-&gt;vm(), exec-&gt;propertyNames().constructor, constructor, DontEnum | ReadOnly);\n&quot;);
</del><ins>+                push(@implContent, &quot;    domObject-&gt;putDirect(state-&gt;vm(), state-&gt;propertyNames().constructor, constructor, DontEnum | ReadOnly);\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;    return JSValue::encode(constructor);\n&quot;);
</span><span class="cx">             }
</span><span class="cx">             push(@implContent, &quot;}\n\n&quot;);
</span><span class="lines">@@ -2485,7 +2485,7 @@
</span><span class="cx">         if ($interface-&gt;extendedAttributes-&gt;{&quot;ReplaceableConstructor&quot;}) {
</span><span class="cx">             my $constructorFunctionName = &quot;setJS&quot; . $interfaceName . &quot;Constructor&quot;;
</span><span class="cx"> 
</span><del>-            push(@implContent, &quot;void ${constructorFunctionName}(ExecState* exec, JSObject*, EncodedJSValue thisValue, EncodedJSValue encodedValue)\n&quot;);
</del><ins>+            push(@implContent, &quot;void ${constructorFunctionName}(ExecState* state, JSObject*, EncodedJSValue thisValue, EncodedJSValue encodedValue)\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    JSValue value = JSValue::decode(encodedValue);&quot;);
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomProxyToJSObject&quot;}) {
</span><span class="lines">@@ -2494,14 +2494,14 @@
</span><span class="cx">                 push(@implContent, &quot;    ${className}* castedThis = &quot; . GetCastingHelperForThisObject($interface) . &quot;(JSValue::decode(thisValue));\n&quot;);
</span><span class="cx">             }
</span><span class="cx">             push(@implContent, &quot;    if (UNLIKELY(!castedThis)) {\n&quot;);
</span><del>-            push(@implContent, &quot;        throwVMTypeError(exec);\n&quot;);
</del><ins>+            push(@implContent, &quot;        throwVMTypeError(state);\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CheckSecurity&quot;}) {
</span><span class="cx">                 if ($interfaceName eq &quot;DOMWindow&quot;) {
</span><del>-                    push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis-&gt;impl()))\n&quot;);
</del><ins>+                    push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis-&gt;impl()))\n&quot;);
</ins><span class="cx">                 } else {
</span><del>-                    push(@implContent, &quot;    if (!shouldAllowAccessToFrame(exec, castedThis-&gt;impl().frame()))\n&quot;);
</del><ins>+                    push(@implContent, &quot;    if (!shouldAllowAccessToFrame(state, castedThis-&gt;impl().frame()))\n&quot;);
</ins><span class="cx">                 }
</span><span class="cx">                 push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">             }
</span><span class="lines">@@ -2509,7 +2509,7 @@
</span><span class="cx">             push(@implContent, &quot;    // Shadowing a built-in constructor\n&quot;);
</span><span class="cx"> 
</span><span class="cx">             if ($interfaceName eq &quot;DOMWindow&quot;) {
</span><del>-                push(@implContent, &quot;    castedThis-&gt;putDirect(exec-&gt;vm(), exec-&gt;propertyNames().constructor, value);\n&quot;);
</del><ins>+                push(@implContent, &quot;    castedThis-&gt;putDirect(state-&gt;vm(), state-&gt;propertyNames().constructor, value);\n&quot;);
</ins><span class="cx">             } else {
</span><span class="cx">                 die &quot;No way to handle interface with ReplaceableConstructor extended attribute: $interfaceName&quot;;
</span><span class="cx">             }
</span><span class="lines">@@ -2521,45 +2521,45 @@
</span><span class="cx"> 
</span><span class="cx">     if ($hasCustomSetter) {
</span><span class="cx">         if (!$interface-&gt;extendedAttributes-&gt;{&quot;CustomPutFunction&quot;}) {
</span><del>-            push(@implContent, &quot;void ${className}::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot&amp; slot)\n&quot;);
</del><ins>+            push(@implContent, &quot;void ${className}::put(JSCell* cell, ExecState* state, PropertyName propertyName, JSValue value, PutPropertySlot&amp; slot)\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    auto* thisObject = jsCast&lt;${className}*&gt;(cell);\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n&quot;);
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomIndexedSetter&quot;}) {
</span><span class="cx">                 push(@implContent, &quot;    if (Optional&lt;uint32_t&gt; index = parseIndex(propertyName)) {\n&quot;);
</span><del>-                push(@implContent, &quot;        thisObject-&gt;indexSetter(exec, index.value(), value);\n&quot;);
</del><ins>+                push(@implContent, &quot;        thisObject-&gt;indexSetter(state, index.value(), value);\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">             }
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomNamedSetter&quot;}) {
</span><del>-                push(@implContent, &quot;    if (thisObject-&gt;putDelegate(exec, propertyName, value, slot))\n&quot;);
</del><ins>+                push(@implContent, &quot;    if (thisObject-&gt;putDelegate(state, propertyName, value, slot))\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><del>-            push(@implContent, &quot;    Base::put(thisObject, exec, propertyName, value, slot);\n&quot;);
</del><ins>+            push(@implContent, &quot;    Base::put(thisObject, state, propertyName, value, slot);\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx"> 
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomIndexedSetter&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;CustomNamedSetter&quot;}) {
</span><del>-                push(@implContent, &quot;void ${className}::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)\n&quot;);
</del><ins>+                push(@implContent, &quot;void ${className}::putByIndex(JSCell* cell, ExecState* state, unsigned index, JSValue value, bool shouldThrow)\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;{\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    auto* thisObject = jsCast&lt;${className}*&gt;(cell);\n&quot;);
</span><span class="cx">                 push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n&quot;);
</span><span class="cx"> 
</span><span class="cx">                 if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomIndexedSetter&quot;}) {
</span><span class="cx">                     push(@implContent, &quot;    if (index &lt;= MAX_ARRAY_INDEX) {\n&quot;);
</span><del>-                    push(@implContent, &quot;        thisObject-&gt;indexSetter(exec, index, value);\n&quot;);
</del><ins>+                    push(@implContent, &quot;        thisObject-&gt;indexSetter(state, index, value);\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">                     push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomNamedSetter&quot;}) {
</span><del>-                    push(@implContent, &quot;    Identifier propertyName = Identifier::from(exec, index);\n&quot;);
</del><ins>+                    push(@implContent, &quot;    Identifier propertyName = Identifier::from(state, index);\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;    PutPropertySlot slot(thisObject, shouldThrow);\n&quot;);
</span><del>-                    push(@implContent, &quot;    if (thisObject-&gt;putDelegate(exec, propertyName, value, slot))\n&quot;);
</del><ins>+                    push(@implContent, &quot;    if (thisObject-&gt;putDelegate(state, propertyName, value, slot))\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                push(@implContent, &quot;    Base::putByIndex(cell, exec, index, value, shouldThrow);\n&quot;);
</del><ins>+                push(@implContent, &quot;    Base::putByIndex(cell, state, index, value, shouldThrow);\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx">             }
</span><span class="cx">         }
</span><span class="lines">@@ -2576,7 +2576,7 @@
</span><span class="cx">             my $attributeConditionalString = $codeGenerator-&gt;GenerateConditionalString($attribute-&gt;signature);
</span><span class="cx">             push(@implContent, &quot;#if ${attributeConditionalString}\n&quot;) if $attributeConditionalString;
</span><span class="cx"> 
</span><del>-            push(@implContent, &quot;void ${putFunctionName}(ExecState* exec, JSObject* baseObject, EncodedJSValue&quot;);
</del><ins>+            push(@implContent, &quot;void ${putFunctionName}(ExecState* state, JSObject* baseObject, EncodedJSValue&quot;);
</ins><span class="cx">             push(@implContent, &quot; thisValue&quot;) if !$attribute-&gt;isStatic;
</span><span class="cx">             push(@implContent, &quot;, EncodedJSValue encodedValue)\n&quot;);
</span><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="lines">@@ -2591,46 +2591,46 @@
</span><span class="cx">                     if (InterfaceRequiresAttributesOnInstanceForCompatibility($interface)) {
</span><span class="cx">                         push(@implContent, &quot;    ${className}* castedThisObject = &quot; . GetCastingHelperForThisObject($interface) . &quot;(JSValue::decode(thisValue));\n&quot;);
</span><span class="cx">                         push(@implContent, &quot;    if (UNLIKELY(!castedThisObject))\n&quot;);
</span><del>-                        push(@implContent, &quot;        reportDeprecatedSetterError(*exec, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</del><ins>+                        push(@implContent, &quot;        reportDeprecatedSetterError(*state, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</ins><span class="cx">                     } else {
</span><span class="cx">                         push(@implContent, &quot;    UNUSED_PARAM(thisValue);\n&quot;);
</span><del>-                        push(@implContent, &quot;    UNUSED_PARAM(exec);\n&quot;);
</del><ins>+                        push(@implContent, &quot;    UNUSED_PARAM(state);\n&quot;);
</ins><span class="cx">                     }
</span><span class="cx">                 } else {
</span><span class="cx">                     push(@implContent, &quot;    ${className}* castedThis = &quot; . GetCastingHelperForThisObject($interface) . &quot;(JSValue::decode(thisValue));\n&quot;);
</span><span class="cx">                     push(@implContent, &quot;    if (UNLIKELY(!castedThis)) {\n&quot;);
</span><span class="cx">                     push(@implContent, &quot;        if (jsDynamicCast&lt;${className}Prototype*&gt;(JSValue::decode(thisValue)))\n&quot;);
</span><del>-                    push(@implContent, &quot;            reportDeprecatedSetterError(*exec, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</del><ins>+                    push(@implContent, &quot;            reportDeprecatedSetterError(*state, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;        else\n&quot;);
</span><del>-                    push(@implContent, &quot;            throwSetterTypeError(*exec, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</del><ins>+                    push(@implContent, &quot;            throwSetterTypeError(*state, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;);\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">                     push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">                 }
</span><span class="cx">             }
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;CheckSecurity&quot;} &amp;&amp; !$attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;DoNotCheckSecurity&quot;}) {
</span><span class="cx">                 if ($interfaceName eq &quot;DOMWindow&quot;) {
</span><del>-                    push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis-&gt;impl()))\n&quot;);
</del><ins>+                    push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis-&gt;impl()))\n&quot;);
</ins><span class="cx">                 } else {
</span><del>-                    push(@implContent, &quot;    if (!shouldAllowAccessToFrame(exec, castedThis-&gt;impl().frame()))\n&quot;);
</del><ins>+                    push(@implContent, &quot;    if (!shouldAllowAccessToFrame(state, castedThis-&gt;impl().frame()))\n&quot;);
</ins><span class="cx">                 }
</span><span class="cx">                 push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             if (HasCustomSetter($attribute-&gt;signature-&gt;extendedAttributes)) {
</span><del>-                push(@implContent, &quot;    castedThis-&gt;set$implSetterFunctionName(exec, value);\n&quot;);
</del><ins>+                push(@implContent, &quot;    castedThis-&gt;set$implSetterFunctionName(state, value);\n&quot;);
</ins><span class="cx">             } elsif ($type eq &quot;EventHandler&quot;) {
</span><span class="cx">                 $implIncludes{&quot;JSEventListener.h&quot;} = 1;
</span><span class="cx">                 my $eventName = EventHandlerAttributeEventName($attribute);
</span><span class="cx">                 # FIXME: Find a way to do this special case without hardcoding the class and attribute names here.
</span><span class="cx">                 if ((($interfaceName eq &quot;DOMWindow&quot;) or ($interfaceName eq &quot;WorkerGlobalScope&quot;)) and $name eq &quot;onerror&quot;) {
</span><span class="cx">                     $implIncludes{&quot;JSErrorHandler.h&quot;} = 1;
</span><del>-                    push(@implContent, &quot;    castedThis-&gt;impl().setAttributeEventListener($eventName, createJSErrorHandler(exec, value, castedThis));\n&quot;);
</del><ins>+                    push(@implContent, &quot;    castedThis-&gt;impl().setAttributeEventListener($eventName, createJSErrorHandler(state, value, castedThis));\n&quot;);
</ins><span class="cx">                 } else {
</span><span class="cx">                     $implIncludes{&quot;JSEventListener.h&quot;} = 1;
</span><span class="cx">                     my $setter = $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;WindowEventHandler&quot;} ? &quot;setWindowEventHandlerAttribute&quot;
</span><span class="cx">                         : $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;DocumentEventHandler&quot;} ? &quot;setDocumentEventHandlerAttribute&quot;
</span><span class="cx">                         : &quot;setEventHandlerAttribute&quot;;
</span><del>-                    push(@implContent, &quot;    $setter(*exec, *castedThis, castedThis-&gt;impl(), $eventName, value);\n&quot;);
</del><ins>+                    push(@implContent, &quot;    $setter(*state, *castedThis, castedThis-&gt;impl(), $eventName, value);\n&quot;);
</ins><span class="cx">                 }
</span><span class="cx">             } elsif ($attribute-&gt;signature-&gt;type =~ /Constructor$/) {
</span><span class="cx">                 my $constructorType = $attribute-&gt;signature-&gt;type;
</span><span class="lines">@@ -2642,10 +2642,10 @@
</span><span class="cx">                     AddToImplIncludes(&quot;JS&quot; . $constructorType . &quot;.h&quot;, $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Conditional&quot;});
</span><span class="cx">                 }
</span><span class="cx">                 push(@implContent, &quot;    // Shadowing a built-in constructor.\n&quot;);
</span><del>-                push(@implContent, &quot;    castedThis-&gt;putDirect(exec-&gt;vm(), Identifier::fromString(exec, \&quot;$name\&quot;), value);\n&quot;);
</del><ins>+                push(@implContent, &quot;    castedThis-&gt;putDirect(state-&gt;vm(), Identifier::fromString(state, \&quot;$name\&quot;), value);\n&quot;);
</ins><span class="cx">             } elsif ($attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Replaceable&quot;}) {
</span><span class="cx">                 push(@implContent, &quot;    // Shadowing a built-in object.\n&quot;);
</span><del>-                push(@implContent, &quot;    castedThis-&gt;putDirect(exec-&gt;vm(), Identifier::fromString(exec, \&quot;$name\&quot;), value);\n&quot;);
</del><ins>+                push(@implContent, &quot;    castedThis-&gt;putDirect(state-&gt;vm(), Identifier::fromString(state, \&quot;$name\&quot;), value);\n&quot;);
</ins><span class="cx">             } else {
</span><span class="cx">                 if (!$attribute-&gt;isStatic) {
</span><span class="cx">                     my $putForwards = $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;PutForwards&quot;};
</span><span class="lines">@@ -2673,14 +2673,14 @@
</span><span class="cx">                     my $argType = $attribute-&gt;signature-&gt;type;
</span><span class="cx">                     if ($codeGenerator-&gt;IsWrapperType($argType)) {
</span><span class="cx">                         push(@implContent, &quot;    if (UNLIKELY(!value.isUndefinedOrNull() &amp;&amp; !value.inherits(JS${argType}::info()))) {\n&quot;);
</span><del>-                        push(@implContent, &quot;        throwAttributeTypeError(*exec, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;, \&quot;$argType\&quot;);\n&quot;);
</del><ins>+                        push(@implContent, &quot;        throwAttributeTypeError(*state, \&quot;$interfaceName\&quot;, \&quot;$name\&quot;, \&quot;$argType\&quot;);\n&quot;);
</ins><span class="cx">                         push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">                         push(@implContent, &quot;    };\n&quot;);
</span><span class="cx">                     }
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 push(@implContent, &quot;    &quot; . GetNativeTypeFromSignature($attribute-&gt;signature) . &quot; nativeValue = &quot; . JSValueToNative($attribute-&gt;signature, &quot;value&quot;, $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Conditional&quot;}) . &quot;;\n&quot;);
</span><del>-                push(@implContent, &quot;    if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+                push(@implContent, &quot;    if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx"> 
</span><span class="cx">                 if ($codeGenerator-&gt;IsEnumType($type)) {
</span><span class="lines">@@ -2695,7 +2695,7 @@
</span><span class="cx"> 
</span><span class="cx">                 if ($attribute-&gt;signature-&gt;type eq &quot;double&quot; or $attribute-&gt;signature-&gt;type eq &quot;float&quot;) {
</span><span class="cx">                     push(@implContent, &quot;    if (!std::isfinite(nativeValue)) {\n&quot;);
</span><del>-                    push(@implContent, &quot;        setDOMException(exec, TypeError);\n&quot;);
</del><ins>+                    push(@implContent, &quot;        setDOMException(state, TypeError);\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">                     push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">                 }
</span><span class="lines">@@ -2703,7 +2703,7 @@
</span><span class="cx">                 if ($svgPropertyOrListPropertyType) {
</span><span class="cx">                     if ($svgPropertyType) {
</span><span class="cx">                         push(@implContent, &quot;    if (impl.isReadOnly()) {\n&quot;);
</span><del>-                        push(@implContent, &quot;        setDOMException(exec, NO_MODIFICATION_ALLOWED_ERR);\n&quot;);
</del><ins>+                        push(@implContent, &quot;        setDOMException(state, NO_MODIFICATION_ALLOWED_ERR);\n&quot;);
</ins><span class="cx">                         push(@implContent, &quot;        return;\n&quot;);
</span><span class="cx">                         push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">                         $implIncludes{&quot;ExceptionCode.h&quot;} = 1;
</span><span class="lines">@@ -2715,7 +2715,7 @@
</span><span class="cx">                         push(@implContent, &quot;    podImpl.set$implSetterFunctionName(nativeValue&quot;);
</span><span class="cx">                         push(@implContent, &quot;, ec&quot;) if $setterRaisesException;
</span><span class="cx">                         push(@implContent, &quot;);\n&quot;);
</span><del>-                        push(@implContent, &quot;    setDOMException(exec, ec);\n&quot;) if $setterRaisesException;
</del><ins>+                        push(@implContent, &quot;    setDOMException(state, ec);\n&quot;) if $setterRaisesException;
</ins><span class="cx">                     }
</span><span class="cx">                     if ($svgPropertyType) {
</span><span class="cx">                         if ($setterRaisesException) {
</span><span class="lines">@@ -2748,7 +2748,7 @@
</span><span class="cx"> 
</span><span class="cx">                     push(@arguments, &quot;ec&quot;) if $setterRaisesException;
</span><span class="cx">                     push(@implContent, &quot;    ${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;);\n&quot;);
</span><del>-                    push(@implContent, &quot;    setDOMException(exec, ec);\n&quot;) if $setterRaisesException;
</del><ins>+                    push(@implContent, &quot;    setDOMException(state, ec);\n&quot;) if $setterRaisesException;
</ins><span class="cx">                 }
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="lines">@@ -2759,13 +2759,13 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($indexedGetterFunction &amp;&amp; !$interface-&gt;extendedAttributes-&gt;{&quot;CustomEnumerateProperty&quot;}) {
</span><del>-        push(@implContent, &quot;void ${className}::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray&amp; propertyNames, EnumerationMode mode)\n&quot;);
</del><ins>+        push(@implContent, &quot;void ${className}::getOwnPropertyNames(JSObject* object, ExecState* state, PropertyNameArray&amp; propertyNames, EnumerationMode mode)\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;{\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    auto* thisObject = jsCast&lt;${className}*&gt;(object);\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    for (unsigned i = 0, count = thisObject-&gt;impl().length(); i &lt; count; ++i)\n&quot;);
</span><del>-        push(@implContent, &quot;        propertyNames.add(Identifier::from(exec, i));\n&quot;);
-        push(@implContent, &quot;    Base::getOwnPropertyNames(thisObject, exec, propertyNames, mode);\n&quot;);
</del><ins>+        push(@implContent, &quot;        propertyNames.add(Identifier::from(state, i));\n&quot;);
+        push(@implContent, &quot;    Base::getOwnPropertyNames(thisObject, state, propertyNames, mode);\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;}\n\n&quot;);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -2827,16 +2827,16 @@
</span><span class="cx">                 AddToImplIncludes(&quot;JSDOMPromise.h&quot;);
</span><span class="cx"> 
</span><span class="cx">                 push(@implContent, &quot;static inline EncodedJSValue ${functionName}Promise(ExecState*, JSPromiseDeferred*);\n&quot;);
</span><del>-                push(@implContent, &quot;EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)\n&quot;);
</del><ins>+                push(@implContent, &quot;EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* state)\n&quot;);
</ins><span class="cx">                 push(@implContent, &quot;{\n&quot;);
</span><span class="cx"> 
</span><del>-                push(@implContent, &quot;    return JSValue::encode(callPromiseFunction(*exec, ${functionName}Promise));\n&quot;);
</del><ins>+                push(@implContent, &quot;    return JSValue::encode(callPromiseFunction(*state, ${functionName}Promise));\n&quot;);
</ins><span class="cx"> 
</span><span class="cx">                 push(@implContent, &quot;}\n&quot;);
</span><del>-                push(@implContent, &quot;\nstatic inline EncodedJSValue ${functionName}Promise(ExecState* exec, JSPromiseDeferred* promiseDeferred)\n&quot;);
</del><ins>+                push(@implContent, &quot;\nstatic inline EncodedJSValue ${functionName}Promise(ExecState* state, JSPromiseDeferred* promiseDeferred)\n&quot;);
</ins><span class="cx">             }
</span><span class="cx">             else {
</span><del>-                push(@implContent, &quot;EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)\n&quot;);
</del><ins>+                push(@implContent, &quot;EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* state)\n&quot;);
</ins><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             push(@implContent, &quot;{\n&quot;);
</span><span class="lines">@@ -2846,7 +2846,7 @@
</span><span class="cx">             if ($function-&gt;isStatic) {
</span><span class="cx">                 if ($isCustom) {
</span><span class="cx">                     GenerateArgumentsCountCheck(\@implContent, $function, $interface);
</span><del>-                    push(@implContent, &quot;    return JSValue::encode(${className}::&quot; . $functionImplementationName . &quot;(exec));\n&quot;);
</del><ins>+                    push(@implContent, &quot;    return JSValue::encode(${className}::&quot; . $functionImplementationName . &quot;(state));\n&quot;);
</ins><span class="cx">                 } else {
</span><span class="cx">                     GenerateArgumentsCountCheck(\@implContent, $function, $interface);
</span><span class="cx"> 
</span><span class="lines">@@ -2861,17 +2861,17 @@
</span><span class="cx"> 
</span><span class="cx">                 if ($interface-&gt;extendedAttributes-&gt;{&quot;CheckSecurity&quot;} and
</span><span class="cx">                     !$function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;DoNotCheckSecurity&quot;}) {
</span><del>-                    push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis-&gt;impl()))\n&quot;);
</del><ins>+                    push(@implContent, &quot;    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis-&gt;impl()))\n&quot;);
</ins><span class="cx">                     push(@implContent, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 if ($isCustom) {
</span><del>-                    push(@implContent, &quot;    return JSValue::encode(castedThis-&gt;&quot; . $functionImplementationName . &quot;(exec));\n&quot;);
</del><ins>+                    push(@implContent, &quot;    return JSValue::encode(castedThis-&gt;&quot; . $functionImplementationName . &quot;(state));\n&quot;);
</ins><span class="cx">                 } else {
</span><span class="cx">                     push(@implContent, &quot;    auto&amp; impl = castedThis-&gt;impl();\n&quot;);
</span><span class="cx">                     if ($svgPropertyType) {
</span><span class="cx">                         push(@implContent, &quot;    if (impl.isReadOnly()) {\n&quot;);
</span><del>-                        push(@implContent, &quot;        setDOMException(exec, NO_MODIFICATION_ALLOWED_ERR);\n&quot;);
</del><ins>+                        push(@implContent, &quot;        setDOMException(state, NO_MODIFICATION_ALLOWED_ERR);\n&quot;);
</ins><span class="cx">                         push(@implContent, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">                         push(@implContent, &quot;    }\n&quot;);
</span><span class="cx">                         push(@implContent, &quot;    $svgPropertyType&amp; podImpl = impl.propertyReference();\n&quot;);
</span><span class="lines">@@ -2889,7 +2889,7 @@
</span><span class="cx">                         push(@implContent, &quot;    ExceptionCode ec = 0;\n&quot;) if $raisesException;
</span><span class="cx"> 
</span><span class="cx">                         if ($function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CheckSecurityForNode&quot;}) {
</span><del>-                            push(@implContent, &quot;    if (!shouldAllowAccessToNode(exec, impl.&quot; . $function-&gt;signature-&gt;name . &quot;(&quot; . ($raisesException ? &quot;ec&quot; : &quot;&quot;) .&quot;)))\n&quot;);
</del><ins>+                            push(@implContent, &quot;    if (!shouldAllowAccessToNode(state, impl.&quot; . $function-&gt;signature-&gt;name . &quot;(&quot; . ($raisesException ? &quot;ec&quot; : &quot;&quot;) .&quot;)))\n&quot;);
</ins><span class="cx">                             push(@implContent, &quot;        return JSValue::encode(jsNull());\n&quot;);
</span><span class="cx">                             $implIncludes{&quot;JSDOMBinding.h&quot;} = 1;
</span><span class="cx">                         }
</span><span class="lines">@@ -3160,19 +3160,19 @@
</span><span class="cx">     my $className = shift;
</span><span class="cx">     my $function = shift;
</span><span class="cx">     if ($interface-&gt;extendedAttributes-&gt;{&quot;CustomProxyToJSObject&quot;}) {
</span><del>-        push(@implContent, &quot;    $className* castedThis = to${className}(exec-&gt;thisValue().toThis(exec, NotStrictMode));\n&quot;);
</del><ins>+        push(@implContent, &quot;    $className* castedThis = to${className}(state-&gt;thisValue().toThis(state, NotStrictMode));\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;    if (UNLIKELY(!castedThis))\n&quot;);
</span><del>-        push(@implContent, &quot;        return throwVMTypeError(exec);\n&quot;);
</del><ins>+        push(@implContent, &quot;        return throwVMTypeError(state);\n&quot;);
</ins><span class="cx">     } elsif ($interface-&gt;extendedAttributes-&gt;{&quot;WorkerGlobalScope&quot;}) {
</span><del>-        push(@implContent, &quot;    $className* castedThis = to${className}(exec-&gt;thisValue().toThis(exec, NotStrictMode));\n&quot;);
</del><ins>+        push(@implContent, &quot;    $className* castedThis = to${className}(state-&gt;thisValue().toThis(state, NotStrictMode));\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;    if (UNLIKELY(!castedThis))\n&quot;);
</span><del>-        push(@implContent, &quot;        return throwVMTypeError(exec);\n&quot;);
</del><ins>+        push(@implContent, &quot;        return throwVMTypeError(state);\n&quot;);
</ins><span class="cx">     } else {
</span><del>-        push(@implContent, &quot;    JSValue thisValue = exec-&gt;thisValue();\n&quot;);
</del><ins>+        push(@implContent, &quot;    JSValue thisValue = state-&gt;thisValue();\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;    $className* castedThis = &quot; . GetCastingHelperForThisObject($interface) . &quot;(thisValue);\n&quot;);
</span><span class="cx">         my $domFunctionName = $function-&gt;signature-&gt;name;
</span><span class="cx">         push(@implContent, &quot;    if (UNLIKELY(!castedThis))\n&quot;);
</span><del>-        push(@implContent, &quot;        return throwThisTypeError(*exec, \&quot;$interfaceName\&quot;, \&quot;$domFunctionName\&quot;);\n&quot;);
</del><ins>+        push(@implContent, &quot;        return throwThisTypeError(*state, \&quot;$interfaceName\&quot;, \&quot;$domFunctionName\&quot;);\n&quot;);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     push(@implContent, &quot;    ASSERT_GC_OBJECT_INHERITS(castedThis, ${className}::info());\n&quot;);
</span><span class="lines">@@ -3187,21 +3187,21 @@
</span><span class="cx">     my $function = shift;
</span><span class="cx"> 
</span><span class="cx">     my @callWithArgs;
</span><del>-    push(@callWithArgs, &quot;exec&quot;) if $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;ScriptState&quot;);
</del><ins>+    push(@callWithArgs, &quot;*state&quot;) if $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;ScriptState&quot;);
</ins><span class="cx">     if ($codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;ScriptExecutionContext&quot;)) {
</span><del>-        push(@$outputArray, &quot;    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();\n&quot;);
</del><ins>+        push(@$outputArray, &quot;    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();\n&quot;);
</ins><span class="cx">         push(@$outputArray, &quot;    if (!scriptContext)\n&quot;);
</span><span class="cx">         push(@$outputArray, &quot;        return&quot; . ($returnValue ? &quot; &quot; . $returnValue : &quot;&quot;) . &quot;;\n&quot;);
</span><span class="cx">         push(@callWithArgs, &quot;scriptContext&quot;);
</span><span class="cx">     }
</span><span class="cx">     if ($function and $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;ScriptArguments&quot;)) {
</span><del>-        push(@$outputArray, &quot;    RefPtr&lt;Inspector::ScriptArguments&gt; scriptArguments(Inspector::createScriptArguments(exec, &quot; . @{$function-&gt;parameters} . &quot;));\n&quot;);
</del><ins>+        push(@$outputArray, &quot;    RefPtr&lt;Inspector::ScriptArguments&gt; scriptArguments(Inspector::createScriptArguments(state, &quot; . @{$function-&gt;parameters} . &quot;));\n&quot;);
</ins><span class="cx">         $implIncludes{&quot;&lt;inspector/ScriptArguments.h&gt;&quot;} = 1;
</span><span class="cx">         $implIncludes{&quot;&lt;inspector/ScriptCallStackFactory.h&gt;&quot;} = 1;
</span><span class="cx">         push(@callWithArgs, &quot;scriptArguments.release()&quot;);
</span><span class="cx">     }
</span><del>-    push(@callWithArgs, &quot;activeDOMWindow(exec)&quot;) if $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;ActiveWindow&quot;);
-    push(@callWithArgs, &quot;firstDOMWindow(exec)&quot;) if $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;FirstWindow&quot;);
</del><ins>+    push(@callWithArgs, &quot;activeDOMWindow(state)&quot;) if $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;ActiveWindow&quot;);
+    push(@callWithArgs, &quot;firstDOMWindow(state)&quot;) if $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;FirstWindow&quot;);
</ins><span class="cx"> 
</span><span class="cx">     return @callWithArgs;
</span><span class="cx"> }
</span><span class="lines">@@ -3222,8 +3222,8 @@
</span><span class="cx">     }
</span><span class="cx">     if ($numMandatoryParams &gt;= 1)
</span><span class="cx">     {
</span><del>-        push(@$outputArray, &quot;    if (UNLIKELY(exec-&gt;argumentCount() &lt; $numMandatoryParams))\n&quot;);
-        push(@$outputArray, &quot;        return throwVMError(exec, createNotEnoughArgumentsError(exec));\n&quot;);
</del><ins>+        push(@$outputArray, &quot;    if (UNLIKELY(state-&gt;argumentCount() &lt; $numMandatoryParams))\n&quot;);
+        push(@$outputArray, &quot;        return throwVMError(state, createNotEnoughArgumentsError(state));\n&quot;);
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -3280,7 +3280,7 @@
</span><span class="cx">         if ($optional &amp;&amp; !$defaultAttribute &amp;&amp; $argType ne &quot;Dictionary&quot; &amp;&amp; !$codeGenerator-&gt;IsCallbackInterface($parameter-&gt;type)) {
</span><span class="cx">             # Generate early call if there are enough parameters.
</span><span class="cx">             if (!$hasOptionalArguments) {
</span><del>-                push(@$outputArray, &quot;\n    size_t argsCount = exec-&gt;argumentCount();\n&quot;);
</del><ins>+                push(@$outputArray, &quot;\n    size_t argsCount = state-&gt;argumentCount();\n&quot;);
</ins><span class="cx">                 $hasOptionalArguments = 1;
</span><span class="cx">             }
</span><span class="cx">             push(@$outputArray, &quot;    if (argsCount &lt;= $argsIndex) {\n&quot;);
</span><span class="lines">@@ -3296,10 +3296,10 @@
</span><span class="cx"> 
</span><span class="cx">         if ($argType eq &quot;XPathNSResolver&quot;) {
</span><span class="cx">             push(@$outputArray, &quot;    RefPtr&lt;XPathNSResolver&gt; customResolver;\n&quot;);
</span><del>-            push(@$outputArray, &quot;    XPathNSResolver* resolver = JSXPathNSResolver::toWrapped(exec-&gt;argument($argsIndex));\n&quot;);
</del><ins>+            push(@$outputArray, &quot;    XPathNSResolver* resolver = JSXPathNSResolver::toWrapped(state-&gt;argument($argsIndex));\n&quot;);
</ins><span class="cx">             push(@$outputArray, &quot;    if (!resolver) {\n&quot;);
</span><del>-            push(@$outputArray, &quot;        customResolver = JSCustomXPathNSResolver::create(exec, exec-&gt;argument($argsIndex));\n&quot;);
-            push(@$outputArray, &quot;        if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+            push(@$outputArray, &quot;        customResolver = JSCustomXPathNSResolver::create(state, state-&gt;argument($argsIndex));\n&quot;);
+            push(@$outputArray, &quot;        if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">             push(@$outputArray, &quot;            return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">             push(@$outputArray, &quot;        resolver = customResolver.get();\n&quot;);
</span><span class="cx">             push(@$outputArray, &quot;    }\n&quot;);
</span><span class="lines">@@ -3308,39 +3308,39 @@
</span><span class="cx">             $implIncludes{&quot;$callbackClassName.h&quot;} = 1;
</span><span class="cx">             if ($optional) {
</span><span class="cx">                 push(@$outputArray, &quot;    RefPtr&lt;$argType&gt; $name;\n&quot;);
</span><del>-                push(@$outputArray, &quot;    if (!exec-&gt;argument($argsIndex).isUndefinedOrNull()) {\n&quot;);
</del><ins>+                push(@$outputArray, &quot;    if (!state-&gt;argument($argsIndex).isUndefinedOrNull()) {\n&quot;);
</ins><span class="cx">                 if ($codeGenerator-&gt;IsFunctionOnlyCallbackInterface($parameter-&gt;type)) {
</span><del>-                    push(@$outputArray, &quot;        if (!exec-&gt;uncheckedArgument($argsIndex).isFunction())\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;        if (!state-&gt;uncheckedArgument($argsIndex).isFunction())\n&quot;);
</ins><span class="cx">                 } else {
</span><del>-                    push(@$outputArray, &quot;        if (!exec-&gt;uncheckedArgument($argsIndex).isObject())\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;        if (!state-&gt;uncheckedArgument($argsIndex).isObject())\n&quot;);
</ins><span class="cx">                 }
</span><del>-                push(@$outputArray, &quot;            return throwArgumentMustBeFunctionError(*exec, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;            return throwArgumentMustBeFunctionError(*state, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName);\n&quot;);
</ins><span class="cx">                 if ($function-&gt;isStatic) {
</span><span class="cx">                     AddToImplIncludes(&quot;CallbackFunction.h&quot;);
</span><del>-                    push(@$outputArray, &quot;        $name = createFunctionOnlyCallback&lt;${callbackClassName}&gt;(exec, jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject()), exec-&gt;uncheckedArgument($argsIndex));\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;        $name = createFunctionOnlyCallback&lt;${callbackClassName}&gt;(state, jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject()), state-&gt;uncheckedArgument($argsIndex));\n&quot;);
</ins><span class="cx">                 } else {
</span><del>-                    push(@$outputArray, &quot;        $name = ${callbackClassName}::create(asObject(exec-&gt;uncheckedArgument($argsIndex)), castedThis-&gt;globalObject());\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;        $name = ${callbackClassName}::create(asObject(state-&gt;uncheckedArgument($argsIndex)), castedThis-&gt;globalObject());\n&quot;);
</ins><span class="cx">                 }
</span><span class="cx">                 push(@$outputArray, &quot;    }\n&quot;);
</span><span class="cx">             } else {
</span><span class="cx">                 if ($codeGenerator-&gt;IsFunctionOnlyCallbackInterface($parameter-&gt;type)) {
</span><del>-                    push(@$outputArray, &quot;    if (!exec-&gt;argument($argsIndex).isFunction())\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;    if (!state-&gt;argument($argsIndex).isFunction())\n&quot;);
</ins><span class="cx">                 } else {
</span><del>-                    push(@$outputArray, &quot;    if (!exec-&gt;argument($argsIndex).isObject())\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;    if (!state-&gt;argument($argsIndex).isObject())\n&quot;);
</ins><span class="cx">                 }
</span><del>-                push(@$outputArray, &quot;        return throwArgumentMustBeFunctionError(*exec, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        return throwArgumentMustBeFunctionError(*state, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName);\n&quot;);
</ins><span class="cx">                 if ($function-&gt;isStatic) {
</span><span class="cx">                     AddToImplIncludes(&quot;CallbackFunction.h&quot;);
</span><del>-                    push(@$outputArray, &quot;    RefPtr&lt;$argType&gt; $name = createFunctionOnlyCallback&lt;${callbackClassName}&gt;(exec, jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject()), exec-&gt;uncheckedArgument($argsIndex));\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;    RefPtr&lt;$argType&gt; $name = createFunctionOnlyCallback&lt;${callbackClassName}&gt;(state, jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject()), state-&gt;uncheckedArgument($argsIndex));\n&quot;);
</ins><span class="cx">                 } else {
</span><del>-                    push(@$outputArray, &quot;    RefPtr&lt;$argType&gt; $name = ${callbackClassName}::create(asObject(exec-&gt;uncheckedArgument($argsIndex)), castedThis-&gt;globalObject());\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;    RefPtr&lt;$argType&gt; $name = ${callbackClassName}::create(asObject(state-&gt;uncheckedArgument($argsIndex)), castedThis-&gt;globalObject());\n&quot;);
</ins><span class="cx">                 }
</span><span class="cx">             }
</span><span class="cx">         } elsif ($parameter-&gt;extendedAttributes-&gt;{&quot;Clamp&quot;}) {
</span><span class="cx">             my $nativeValue = &quot;${name}NativeValue&quot;;
</span><span class="cx">             push(@$outputArray, &quot;    $argType $name = 0;\n&quot;);
</span><del>-            push(@$outputArray, &quot;    double $nativeValue = exec-&gt;argument($argsIndex).toNumber(exec);\n&quot;);
-            push(@$outputArray, &quot;    if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+            push(@$outputArray, &quot;    double $nativeValue = state-&gt;argument($argsIndex).toNumber(state);\n&quot;);
+            push(@$outputArray, &quot;    if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">             push(@$outputArray, &quot;        return JSValue::encode(jsUndefined());\n\n&quot;);
</span><span class="cx">             push(@$outputArray, &quot;    if (!std::isnan($nativeValue))\n&quot;);
</span><span class="cx">             push(@$outputArray, &quot;        $name = clampTo&lt;$argType&gt;($nativeValue);\n\n&quot;);
</span><span class="lines">@@ -3354,15 +3354,15 @@
</span><span class="cx"> 
</span><span class="cx">             if (!IsNativeType($argType)) {
</span><span class="cx">                 push(@$outputArray, &quot;    Vector&lt;$nativeElementType&gt; $name;\n&quot;);
</span><del>-                push(@$outputArray, &quot;    for (unsigned i = $argsIndex, count = exec-&gt;argumentCount(); i &lt; count; ++i) {\n&quot;);
-                push(@$outputArray, &quot;        if (!exec-&gt;uncheckedArgument(i).inherits(JS${argType}::info()))\n&quot;);
-                push(@$outputArray, &quot;            return throwArgumentTypeError(*exec, i, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName, \&quot;$argType\&quot;);\n&quot;);
-                push(@$outputArray, &quot;        $name.append(JS${argType}::toWrapped(exec-&gt;uncheckedArgument(i)));\n&quot;);
</del><ins>+                push(@$outputArray, &quot;    for (unsigned i = $argsIndex, count = state-&gt;argumentCount(); i &lt; count; ++i) {\n&quot;);
+                push(@$outputArray, &quot;        if (!state-&gt;uncheckedArgument(i).inherits(JS${argType}::info()))\n&quot;);
+                push(@$outputArray, &quot;            return throwArgumentTypeError(*state, i, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName, \&quot;$argType\&quot;);\n&quot;);
+                push(@$outputArray, &quot;        $name.append(JS${argType}::toWrapped(state-&gt;uncheckedArgument(i)));\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;    }\n&quot;)
</span><span class="cx">             } else {
</span><del>-                push(@$outputArray, &quot;    Vector&lt;$nativeElementType&gt; $name = toNativeArguments&lt;$nativeElementType&gt;(exec, $argsIndex);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;    Vector&lt;$nativeElementType&gt; $name = toNativeArguments&lt;$nativeElementType&gt;(state, $argsIndex);\n&quot;);
</ins><span class="cx">                 # Check if the type conversion succeeded.
</span><del>-                push(@$outputArray, &quot;    if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+                push(@$outputArray, &quot;    if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="lines">@@ -3371,7 +3371,7 @@
</span><span class="cx"> 
</span><span class="cx">             my $exceptionCheck = sub {
</span><span class="cx">                 my $indent = shift;
</span><del>-                push(@$outputArray, $indent . &quot;    if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+                push(@$outputArray, $indent . &quot;    if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">                 push(@$outputArray, $indent . &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">             };
</span><span class="cx"> 
</span><span class="lines">@@ -3389,23 +3389,23 @@
</span><span class="cx">                     }
</span><span class="cx">                 }
</span><span class="cx">                 push(@$outputArray, $indent . &quot;    if (&quot; . join(&quot; &amp;&amp; &quot;, @enumChecks) . &quot;)\n&quot;);
</span><del>-                push(@$outputArray, $indent . &quot;        return throwArgumentMustBeEnumError(*exec, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName, \&quot;$enums\&quot;);\n&quot;);
</del><ins>+                push(@$outputArray, $indent . &quot;        return throwArgumentMustBeEnumError(*state, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName, \&quot;$enums\&quot;);\n&quot;);
</ins><span class="cx">             };
</span><span class="cx"> 
</span><del>-            my $argValue = &quot;exec-&gt;argument($argsIndex)&quot;;
</del><ins>+            my $argValue = &quot;state-&gt;argument($argsIndex)&quot;;
</ins><span class="cx">             if ($parameter-&gt;isOptional &amp;&amp; $parameter-&gt;default) {
</span><span class="cx">                 push(@$outputArray, &quot;    String $name;\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    if (${argValue}.isUndefined())\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;        $name = ASCIILiteral(&quot; . $parameter-&gt;default . &quot;);\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    else {\n&quot;);
</span><del>-                push(@$outputArray, &quot;        $name = exec-&gt;uncheckedArgument($argsIndex).toString(exec)-&gt;value(exec);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        $name = state-&gt;uncheckedArgument($argsIndex).toString(state)-&gt;value(state);\n&quot;);
</ins><span class="cx">                 &amp;$exceptionCheck(&quot;    &quot;);
</span><span class="cx">                 &amp;$enumValueCheck(&quot;    &quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    }\n&quot;);
</span><span class="cx">             } else {
</span><span class="cx">                 push(@$outputArray, &quot;    // Keep pointer to the JSString in a local so we don't need to ref the String.\n&quot;);
</span><del>-                push(@$outputArray, &quot;    auto* ${name}String = ${argValue}.toString(exec);\n&quot;);
-                push(@$outputArray, &quot;    auto&amp; $name = ${name}String-&gt;value(exec);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;    auto* ${name}String = ${argValue}.toString(state);\n&quot;);
+                push(@$outputArray, &quot;    auto&amp; $name = ${name}String-&gt;value(state);\n&quot;);
</ins><span class="cx">                 &amp;$exceptionCheck(&quot;&quot;);
</span><span class="cx">                 &amp;$enumValueCheck(&quot;&quot;);
</span><span class="cx">             }
</span><span class="lines">@@ -3418,48 +3418,48 @@
</span><span class="cx">             if ($function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;StrictTypeChecking&quot;}) {
</span><span class="cx">                 $implIncludes{&quot;&lt;runtime/Error.h&gt;&quot;} = 1;
</span><span class="cx"> 
</span><del>-                my $argValue = &quot;exec-&gt;argument($argsIndex)&quot;;
</del><ins>+                my $argValue = &quot;state-&gt;argument($argsIndex)&quot;;
</ins><span class="cx">                 if ($codeGenerator-&gt;IsWrapperType($argType)) {
</span><span class="cx">                     push(@$outputArray, &quot;    if (!${argValue}.isUndefinedOrNull() &amp;&amp; !${argValue}.inherits(JS${argType}::info()))\n&quot;);
</span><del>-                    push(@$outputArray, &quot;        return throwArgumentTypeError(*exec, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName, \&quot;$argType\&quot;);\n&quot;);
</del><ins>+                    push(@$outputArray, &quot;        return throwArgumentTypeError(*state, $argsIndex, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName, \&quot;$argType\&quot;);\n&quot;);
</ins><span class="cx">                 }
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             if ($parameter-&gt;extendedAttributes-&gt;{&quot;RequiresExistingAtomicString&quot;}) {
</span><span class="cx">                 # FIXME: This could be made slightly more efficient if we added an AtomicString(RefPtr&lt;AtomicStringImpl&gt;&amp;&amp;) constructor and removed the call to get() here.
</span><del>-                push(@$outputArray, &quot;    AtomicString $name = exec-&gt;argument($argsIndex).toString(exec)-&gt;toExistingAtomicString(exec).get();\n&quot;);
</del><ins>+                push(@$outputArray, &quot;    AtomicString $name = state-&gt;argument($argsIndex).toString(state)-&gt;toExistingAtomicString(state).get();\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;    if ($name.isNull())\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;        return JSValue::encode(jsNull());\n&quot;);
</span><span class="cx">             } else {
</span><span class="cx">                 my $outer;
</span><span class="cx">                 my $inner;
</span><span class="cx">                 if ($optional &amp;&amp; $defaultAttribute &amp;&amp; $defaultAttribute eq &quot;NullString&quot;) {
</span><del>-                    $outer = &quot;exec-&gt;argument($argsIndex).isUndefined() ? String() : &quot;;
-                    $inner = &quot;exec-&gt;uncheckedArgument($argsIndex)&quot;;
</del><ins>+                    $outer = &quot;state-&gt;argument($argsIndex).isUndefined() ? String() : &quot;;
+                    $inner = &quot;state-&gt;uncheckedArgument($argsIndex)&quot;;
</ins><span class="cx">                 } elsif ($optional &amp;&amp; $parameter-&gt;default) {
</span><del>-                    $outer = &quot;exec-&gt;argument($argsIndex).isUndefined() ? &quot; . $parameter-&gt;default  . &quot; : &quot;;
-                    $inner = &quot;exec-&gt;uncheckedArgument($argsIndex)&quot;;
</del><ins>+                    $outer = &quot;state-&gt;argument($argsIndex).isUndefined() ? &quot; . $parameter-&gt;default  . &quot; : &quot;;
+                    $inner = &quot;state-&gt;uncheckedArgument($argsIndex)&quot;;
</ins><span class="cx">                 } else {
</span><span class="cx">                     $outer = &quot;&quot;;
</span><del>-                    $inner = &quot;exec-&gt;argument($argsIndex)&quot;;
</del><ins>+                    $inner = &quot;state-&gt;argument($argsIndex)&quot;;
</ins><span class="cx">                 }
</span><span class="cx">                 push(@$outputArray, &quot;    &quot; . GetNativeTypeFromSignature($parameter) . &quot; $name = $outer&quot; . JSValueToNative($parameter, $inner, $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Conditional&quot;}) . &quot;;\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             # Check if the type conversion succeeded.
</span><del>-            push(@$outputArray, &quot;    if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+            push(@$outputArray, &quot;    if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">             push(@$outputArray, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx"> 
</span><span class="cx">             if ($codeGenerator-&gt;IsSVGTypeNeedingTearOff($argType) and not $interfaceName =~ /List$/) {
</span><span class="cx">                 push(@$outputArray, &quot;    if (!$name) {\n&quot;);
</span><del>-                push(@$outputArray, &quot;        setDOMException(exec, TYPE_MISMATCH_ERR);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        setDOMException(state, TYPE_MISMATCH_ERR);\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    }\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             if ($parameter-&gt;type eq &quot;double&quot; or $parameter-&gt;type eq &quot;float&quot;) {
</span><span class="cx">                 push(@$outputArray, &quot;    if (!std::isfinite($name)) {\n&quot;);
</span><del>-                push(@$outputArray, &quot;        setDOMException(exec, TypeError);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        setDOMException(state, TypeError);\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    }\n&quot;);
</span><span class="cx">             }
</span><span class="lines">@@ -3485,7 +3485,7 @@
</span><span class="cx">     my $function = shift;
</span><span class="cx">     my @arguments;
</span><span class="cx"> 
</span><del>-    push(@arguments, &quot;DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred)&quot;) if IsReturningPromise($function);
</del><ins>+    push(@arguments, &quot;DeferredWrapper(state, castedThis-&gt;globalObject(), promiseDeferred)&quot;) if IsReturningPromise($function);
</ins><span class="cx">     push(@arguments, &quot;ec&quot;) if $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;RaisesException&quot;};
</span><span class="cx">     return @arguments;
</span><span class="cx"> }
</span><span class="lines">@@ -3567,7 +3567,7 @@
</span><span class="cx"> 
</span><span class="cx">     # toJS().
</span><span class="cx">     push(@headerContent, &quot;JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, $interfaceName*);\n&quot;);
</span><del>-    push(@headerContent, &quot;inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, $interfaceName&amp; impl) { return toJS(exec, globalObject, &amp;impl); }\n\n&quot;);
</del><ins>+    push(@headerContent, &quot;inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, $interfaceName&amp; impl) { return toJS(state, globalObject, &amp;impl); }\n\n&quot;);
</ins><span class="cx"> 
</span><span class="cx">     push(@headerContent, &quot;} // namespace WebCore\n\n&quot;);
</span><span class="cx">     my $conditionalString = $codeGenerator-&gt;GenerateConditionalString($interface);
</span><span class="lines">@@ -3707,7 +3707,7 @@
</span><span class="cx">             push(@implContent, &quot;        return true;\n\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    Ref&lt;$className&gt; protect(*this);\n\n&quot;);
</span><span class="cx">             push(@implContent, &quot;    JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());\n\n&quot;);
</span><del>-            push(@implContent, &quot;    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();\n&quot;);
</del><ins>+            push(@implContent, &quot;    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;    MarkedArgumentBuffer args;\n&quot;);
</span><span class="cx"> 
</span><span class="cx">             foreach my $param (@params) {
</span><span class="lines">@@ -3717,14 +3717,14 @@
</span><span class="cx"> 
</span><span class="cx">             push(@implContent, &quot;\n    NakedPtr&lt;Exception&gt; returnedException;\n&quot;);
</span><span class="cx"> 
</span><del>-            my $propertyToLookup = &quot;Identifier::fromString(exec, \&quot;${functionName}\&quot;)&quot;;
</del><ins>+            my $propertyToLookup = &quot;Identifier::fromString(state, \&quot;${functionName}\&quot;)&quot;;
</ins><span class="cx">             my $invokeMethod = &quot;JSCallbackData::CallbackType::FunctionOrObject&quot;;
</span><span class="cx">             if ($codeGenerator-&gt;ExtendedAttributeContains($interface-&gt;extendedAttributes-&gt;{&quot;Callback&quot;}, &quot;FunctionOnly&quot;)) {
</span><span class="cx">                 # For callback functions, do not look up callable property on the user object.
</span><span class="cx">                 # https://heycam.github.io/webidl/#es-callback-function
</span><span class="cx">                 $invokeMethod = &quot;JSCallbackData::CallbackType::Function&quot;;
</span><span class="cx">                 $propertyToLookup = &quot;Identifier()&quot;;
</span><del>-                push(@implContent, &quot;    UNUSED_PARAM(exec);\n&quot;);    
</del><ins>+                push(@implContent, &quot;    UNUSED_PARAM(state);\n&quot;);    
</ins><span class="cx">             } elsif ($numFunctions &gt; 1) {
</span><span class="cx">                 # The callback interface has more than one operation so we should not call the user object as a function.
</span><span class="cx">                 # instead, we should look for a property with the same name as the operation on the user object.
</span><span class="lines">@@ -3736,7 +3736,7 @@
</span><span class="cx">             # FIXME: We currently just report the exception. We should probably add an extended attribute to indicate when
</span><span class="cx">             # we want the exception to be rethrown instead.
</span><span class="cx">             push(@implContent, &quot;    if (returnedException)\n&quot;);
</span><del>-            push(@implContent, &quot;        reportException(exec, returnedException);\n&quot;);
</del><ins>+            push(@implContent, &quot;        reportException(state, returnedException);\n&quot;);
</ins><span class="cx">             push(@implContent, &quot;    return !returnedException;\n&quot;);
</span><span class="cx">             push(@implContent, &quot;}\n&quot;);
</span><span class="cx">         }
</span><span class="lines">@@ -3774,18 +3774,18 @@
</span><span class="cx">         if ($nondeterministic) {
</span><span class="cx">             AddToImplIncludes(&quot;&lt;replay/InputCursor.h&gt;&quot;, &quot;WEB_REPLAY&quot;);
</span><span class="cx">             push(@implContent, &quot;#if ENABLE(WEB_REPLAY)\n&quot;);
</span><del>-            push(@implContent, $indent . &quot;InputCursor&amp; cursor = exec-&gt;lexicalGlobalObject()-&gt;inputCursor();\n&quot;);
</del><ins>+            push(@implContent, $indent . &quot;InputCursor&amp; cursor = state-&gt;lexicalGlobalObject()-&gt;inputCursor();\n&quot;);
</ins><span class="cx">             push(@implContent, $indent . &quot;if (!cursor.isReplaying()) {\n&quot;);
</span><span class="cx">             push(@implContent, $indent . &quot;    $functionString;\n&quot;);
</span><del>-            push(@implContent, $indent . &quot;    setDOMException(exec, ec);\n&quot;) if $raisesException;
</del><ins>+            push(@implContent, $indent . &quot;    setDOMException(state, ec);\n&quot;) if $raisesException;
</ins><span class="cx">             push(@implContent, $indent . &quot;}\n&quot;);
</span><span class="cx">             push(@implContent, &quot;#else\n&quot;);
</span><span class="cx">             push(@implContent, $indent . &quot;$functionString;\n&quot;);
</span><del>-            push(@implContent, $indent . &quot;setDOMException(exec, ec);\n&quot;) if $raisesException;
</del><ins>+            push(@implContent, $indent . &quot;setDOMException(state, ec);\n&quot;) if $raisesException;
</ins><span class="cx">             push(@implContent, &quot;#endif\n&quot;);
</span><span class="cx">         } else {
</span><span class="cx">             push(@implContent, $indent . &quot;$functionString;\n&quot;);
</span><del>-            push(@implContent, $indent . &quot;setDOMException(exec, ec);\n&quot;) if $raisesException;
</del><ins>+            push(@implContent, $indent . &quot;setDOMException(state, ec);\n&quot;) if $raisesException;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if ($svgPropertyType and !$function-&gt;isStatic) {
</span><span class="lines">@@ -3810,7 +3810,7 @@
</span><span class="cx">             my $bindingName = $interfaceName . &quot;.&quot; . $function-&gt;signature-&gt;name;
</span><span class="cx">             push(@implContent, $indent . &quot;JSValue result;\n&quot;);
</span><span class="cx">             push(@implContent, &quot;#if ENABLE(WEB_REPLAY)\n&quot;);
</span><del>-            push(@implContent, $indent . &quot;InputCursor&amp; cursor = exec-&gt;lexicalGlobalObject()-&gt;inputCursor();\n&quot;);
</del><ins>+            push(@implContent, $indent . &quot;InputCursor&amp; cursor = state-&gt;lexicalGlobalObject()-&gt;inputCursor();\n&quot;);
</ins><span class="cx">             push(@implContent, $indent . &quot;static NeverDestroyed&lt;const AtomicString&gt; bindingName(\&quot;$bindingName\&quot;, AtomicString::ConstructFromLiteral);\n&quot;);
</span><span class="cx">             push(@implContent, $indent . &quot;if (cursor.isCapturing()) {\n&quot;);
</span><span class="cx">             push(@implContent, $indent . &quot;    $nativeType memoizedResult = $functionString;\n&quot;);
</span><span class="lines">@@ -3834,10 +3834,10 @@
</span><span class="cx">         } else {
</span><span class="cx">             push(@implContent, $indent . &quot;JSValue result = &quot; . NativeToJSValue($function-&gt;signature, 1, $interfaceName, $functionString, $thisObject) . &quot;;\n&quot;);
</span><span class="cx">         }
</span><del>-        push(@implContent, &quot;\n&quot; . $indent . &quot;setDOMException(exec, ec);\n&quot;) if $raisesException;
</del><ins>+        push(@implContent, &quot;\n&quot; . $indent . &quot;setDOMException(state, ec);\n&quot;) if $raisesException;
</ins><span class="cx"> 
</span><span class="cx">         if ($codeGenerator-&gt;ExtendedAttributeContains($function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CallWith&quot;}, &quot;ScriptState&quot;)) {
</span><del>-            push(@implContent, $indent . &quot;if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+            push(@implContent, $indent . &quot;if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">             push(@implContent, $indent . &quot;    return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -3978,61 +3978,61 @@
</span><span class="cx"> 
</span><span class="cx">     my $type = $signature-&gt;type;
</span><span class="cx"> 
</span><del>-    return &quot;$value.toBoolean(exec)&quot; if $type eq &quot;boolean&quot;;
-    return &quot;$value.toNumber(exec)&quot; if $type eq &quot;double&quot; or $type eq &quot;unrestricted double&quot; ;
-    return &quot;$value.toFloat(exec)&quot; if $type eq &quot;float&quot; or $type eq &quot;unrestricted float&quot; ;
</del><ins>+    return &quot;$value.toBoolean(state)&quot; if $type eq &quot;boolean&quot;;
+    return &quot;$value.toNumber(state)&quot; if $type eq &quot;double&quot; or $type eq &quot;unrestricted double&quot; ;
+    return &quot;$value.toFloat(state)&quot; if $type eq &quot;float&quot; or $type eq &quot;unrestricted float&quot; ;
</ins><span class="cx"> 
</span><span class="cx">     my $intConversion = $signature-&gt;extendedAttributes-&gt;{&quot;EnforceRange&quot;} ? &quot;EnforceRange&quot; : &quot;NormalConversion&quot;;
</span><del>-    return &quot;toInt8(exec, $value, $intConversion)&quot; if $type eq &quot;byte&quot;;
-    return &quot;toUInt8(exec, $value, $intConversion)&quot; if $type eq &quot;octet&quot;;
-    return &quot;toInt16(exec, $value, $intConversion)&quot; if $type eq &quot;short&quot;;
-    return &quot;toUInt16(exec, $value, $intConversion)&quot; if $type eq &quot;unsigned short&quot;;
-    return &quot;toInt32(exec, $value, $intConversion)&quot; if $type eq &quot;long&quot;;
-    return &quot;toUInt32(exec, $value, $intConversion)&quot; if $type eq &quot;unsigned long&quot;;
-    return &quot;toInt64(exec, $value, $intConversion)&quot; if $type eq &quot;long long&quot;;
-    return &quot;toUInt64(exec, $value, $intConversion)&quot; if $type eq &quot;unsigned long long&quot;;
</del><ins>+    return &quot;toInt8(state, $value, $intConversion)&quot; if $type eq &quot;byte&quot;;
+    return &quot;toUInt8(state, $value, $intConversion)&quot; if $type eq &quot;octet&quot;;
+    return &quot;toInt16(state, $value, $intConversion)&quot; if $type eq &quot;short&quot;;
+    return &quot;toUInt16(state, $value, $intConversion)&quot; if $type eq &quot;unsigned short&quot;;
+    return &quot;toInt32(state, $value, $intConversion)&quot; if $type eq &quot;long&quot;;
+    return &quot;toUInt32(state, $value, $intConversion)&quot; if $type eq &quot;unsigned long&quot;;
+    return &quot;toInt64(state, $value, $intConversion)&quot; if $type eq &quot;long long&quot;;
+    return &quot;toUInt64(state, $value, $intConversion)&quot; if $type eq &quot;unsigned long long&quot;;
</ins><span class="cx"> 
</span><del>-    return &quot;valueToDate(exec, $value)&quot; if $type eq &quot;Date&quot;;
</del><ins>+    return &quot;valueToDate(state, $value)&quot; if $type eq &quot;Date&quot;;
</ins><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;DOMString&quot;) {
</span><span class="cx">         # FIXME: This implements [TreatNullAs=NullString] and [TreatUndefinedAs=NullString],
</span><span class="cx">         # but the Web IDL spec requires [TreatNullAs=EmptyString] and [TreatUndefinedAs=EmptyString].
</span><span class="cx">         if (($signature-&gt;extendedAttributes-&gt;{&quot;TreatNullAs&quot;} and $signature-&gt;extendedAttributes-&gt;{&quot;TreatNullAs&quot;} eq &quot;NullString&quot;) and ($signature-&gt;extendedAttributes-&gt;{&quot;TreatUndefinedAs&quot;} and $signature-&gt;extendedAttributes-&gt;{&quot;TreatUndefinedAs&quot;} eq &quot;NullString&quot;)) {
</span><del>-            return &quot;valueToStringWithUndefinedOrNullCheck(exec, $value)&quot;
</del><ins>+            return &quot;valueToStringWithUndefinedOrNullCheck(state, $value)&quot;
</ins><span class="cx">         }
</span><span class="cx">         if (($signature-&gt;extendedAttributes-&gt;{&quot;TreatNullAs&quot;} and $signature-&gt;extendedAttributes-&gt;{&quot;TreatNullAs&quot;} eq &quot;NullString&quot;) or $signature-&gt;extendedAttributes-&gt;{&quot;Reflect&quot;}) {
</span><del>-            return &quot;valueToStringWithNullCheck(exec, $value)&quot;
</del><ins>+            return &quot;valueToStringWithNullCheck(state, $value)&quot;
</ins><span class="cx">         }
</span><span class="cx">         if ($signature-&gt;extendedAttributes-&gt;{&quot;AtomicString&quot;}) {
</span><del>-            return &quot;$value.toString(exec)-&gt;toAtomicString(exec)&quot;;
</del><ins>+            return &quot;$value.toString(state)-&gt;toAtomicString(state)&quot;;
</ins><span class="cx">         }
</span><span class="cx">         # FIXME: Add the case for 'if ($signature-&gt;extendedAttributes-&gt;{&quot;TreatUndefinedAs&quot;} and $signature-&gt;extendedAttributes-&gt;{&quot;TreatUndefinedAs&quot;} eq &quot;NullString&quot;))'.
</span><del>-        return &quot;$value.toString(exec)-&gt;value(exec)&quot;;
</del><ins>+        return &quot;$value.toString(state)-&gt;value(state)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;any&quot;) {
</span><span class="cx">         AddToImplIncludes(&quot;&lt;bindings/ScriptValue.h&gt;&quot;);
</span><del>-        return &quot;{ exec-&gt;vm(), $value }&quot;;
</del><ins>+        return &quot;{ state-&gt;vm(), $value }&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;NodeFilter&quot;) {
</span><span class="cx">         AddToImplIncludes(&quot;JS$type.h&quot;, $conditional);
</span><del>-        return &quot;JS${type}::toWrapped(exec-&gt;vm(), $value)&quot;;
</del><ins>+        return &quot;JS${type}::toWrapped(state-&gt;vm(), $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;SerializedScriptValue&quot;) {
</span><span class="cx">         AddToImplIncludes(&quot;SerializedScriptValue.h&quot;, $conditional);
</span><del>-        return &quot;SerializedScriptValue::create(exec, $value, 0, 0)&quot;;
</del><ins>+        return &quot;SerializedScriptValue::create(state, $value, 0, 0)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;Dictionary&quot;) {
</span><span class="cx">         AddToImplIncludes(&quot;Dictionary.h&quot;, $conditional);
</span><del>-        return &quot;{ exec, $value }&quot;;
</del><ins>+        return &quot;{ state, $value }&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;DOMStringList&quot; ) {
</span><span class="cx">         AddToImplIncludes(&quot;JSDOMStringList.h&quot;, $conditional);
</span><del>-        return &quot;toDOMStringList(exec, $value)&quot;;
</del><ins>+        return &quot;toDOMStringList(state, $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     if ($codeGenerator-&gt;IsTypedArrayType($type)) {
</span><span class="lines">@@ -4049,13 +4049,13 @@
</span><span class="cx">     if ($arrayOrSequenceType) {
</span><span class="cx">         if ($codeGenerator-&gt;IsRefPtrType($arrayOrSequenceType)) {
</span><span class="cx">             AddToImplIncludes(&quot;JS${arrayOrSequenceType}.h&quot;);
</span><del>-            return &quot;(toRefPtrNativeArray&lt;${arrayOrSequenceType}, JS${arrayOrSequenceType}&gt;(exec, $value, &amp;JS${arrayOrSequenceType}::toWrapped))&quot;;
</del><ins>+            return &quot;(toRefPtrNativeArray&lt;${arrayOrSequenceType}, JS${arrayOrSequenceType}&gt;(state, $value, &amp;JS${arrayOrSequenceType}::toWrapped))&quot;;
</ins><span class="cx">         }
</span><del>-        return &quot;toNativeArray&lt;&quot; . GetNativeVectorInnerType($arrayOrSequenceType) . &quot;&gt;(exec, $value)&quot;;
</del><ins>+        return &quot;toNativeArray&lt;&quot; . GetNativeVectorInnerType($arrayOrSequenceType) . &quot;&gt;(state, $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($codeGenerator-&gt;IsEnumType($type)) {
</span><del>-        return &quot;$value.toString(exec)-&gt;value(exec)&quot;;
</del><ins>+        return &quot;$value.toString(state)-&gt;value(state)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     # Default, assume autogenerated type conversion routines
</span><span class="lines">@@ -4080,12 +4080,12 @@
</span><span class="cx">     if ($type eq &quot;Date&quot;) {
</span><span class="cx">         my $conv = $signature-&gt;extendedAttributes-&gt;{&quot;TreatReturnedNaNDateAs&quot;};
</span><span class="cx">         if (defined $conv) {
</span><del>-            return &quot;jsDateOrNull(exec, $value)&quot; if $conv eq &quot;Null&quot;;
-            return &quot;jsDateOrNaN(exec, $value)&quot; if $conv eq &quot;NaN&quot;;
</del><ins>+            return &quot;jsDateOrNull(state, $value)&quot; if $conv eq &quot;Null&quot;;
+            return &quot;jsDateOrNaN(state, $value)&quot; if $conv eq &quot;NaN&quot;;
</ins><span class="cx">             
</span><span class="cx">             die &quot;Unknown value for TreatReturnedNaNDateAs extended attribute&quot;;
</span><span class="cx">         }
</span><del>-        return &quot;jsDateOrNull(exec, $value)&quot;;
</del><ins>+        return &quot;jsDateOrNull(state, $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($signature-&gt;extendedAttributes-&gt;{&quot;Reflect&quot;} and ($type eq &quot;unsigned long&quot; or $type eq &quot;unsigned short&quot;)) {
</span><span class="lines">@@ -4099,20 +4099,20 @@
</span><span class="cx"> 
</span><span class="cx">     if ($codeGenerator-&gt;IsEnumType($type)) {
</span><span class="cx">         AddToImplIncludes(&quot;&lt;runtime/JSString.h&gt;&quot;, $conditional);
</span><del>-        return &quot;jsStringWithCache(exec, $value)&quot;;
</del><ins>+        return &quot;jsStringWithCache(state, $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($codeGenerator-&gt;IsStringType($type)) {
</span><span class="cx">         AddToImplIncludes(&quot;URL.h&quot;, $conditional);
</span><span class="cx">         my $conv = $signature-&gt;extendedAttributes-&gt;{&quot;TreatReturnedNullStringAs&quot;};
</span><span class="cx">         if (defined $conv) {
</span><del>-            return &quot;jsStringOrNull(exec, $value)&quot; if $conv eq &quot;Null&quot;;
-            return &quot;jsStringOrUndefined(exec, $value)&quot; if $conv eq &quot;Undefined&quot;;
</del><ins>+            return &quot;jsStringOrNull(state, $value)&quot; if $conv eq &quot;Null&quot;;
+            return &quot;jsStringOrUndefined(state, $value)&quot; if $conv eq &quot;Undefined&quot;;
</ins><span class="cx"> 
</span><span class="cx">             die &quot;Unknown value for TreatReturnedNullStringAs extended attribute&quot;;
</span><span class="cx">         }
</span><span class="cx">         AddToImplIncludes(&quot;&lt;runtime/JSString.h&gt;&quot;, $conditional);
</span><del>-        return &quot;jsStringWithCache(exec, $value)&quot;;
</del><ins>+        return &quot;jsStringWithCache(state, $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     my $globalObject;
</span><span class="lines">@@ -4143,7 +4143,7 @@
</span><span class="cx">         }
</span><span class="cx">         AddToImplIncludes(&quot;&lt;runtime/JSArray.h&gt;&quot;, $conditional);
</span><span class="cx"> 
</span><del>-        return &quot;jsArray(exec, $thisValue-&gt;globalObject(), $value)&quot;;
</del><ins>+        return &quot;jsArray(state, $thisValue-&gt;globalObject(), $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;any&quot;) {
</span><span class="lines">@@ -4154,7 +4154,7 @@
</span><span class="cx">         }
</span><span class="cx">     } elsif ($type eq &quot;SerializedScriptValue&quot; or $type eq &quot;any&quot;) {
</span><span class="cx">         AddToImplIncludes(&quot;SerializedScriptValue.h&quot;, $conditional);
</span><del>-        return &quot;$value ? $value-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull()&quot;;
</del><ins>+        return &quot;$value ? $value-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull()&quot;;
</ins><span class="cx">     } elsif ($codeGenerator-&gt;IsTypedArrayType($type)) {
</span><span class="cx">         # Do nothing - all headers are already included.
</span><span class="cx">     } else {
</span><span class="lines">@@ -4166,7 +4166,7 @@
</span><span class="cx">     return $value if $codeGenerator-&gt;IsSVGAnimatedType($type);
</span><span class="cx"> 
</span><span class="cx">     if ($signature-&gt;extendedAttributes-&gt;{&quot;NewObject&quot;}) {
</span><del>-        return &quot;toJSNewlyCreated(exec, $globalObject, WTF::getPtr($value))&quot;;
</del><ins>+        return &quot;toJSNewlyCreated(state, $globalObject, WTF::getPtr($value))&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($codeGenerator-&gt;IsSVGAnimatedType($interfaceName) or $interfaceName eq &quot;SVGViewSpec&quot;) {
</span><span class="lines">@@ -4198,9 +4198,9 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx">     if ($globalObject) {
</span><del>-        return &quot;toJS(exec, $globalObject, WTF::getPtr($value))&quot;;
</del><ins>+        return &quot;toJS(state, $globalObject, WTF::getPtr($value))&quot;;
</ins><span class="cx">     } else {
</span><del>-        return &quot;toJS(exec, jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject()), WTF::getPtr($value))&quot;;
</del><ins>+        return &quot;toJS(state, jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject()), WTF::getPtr($value))&quot;;
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -4644,9 +4644,9 @@
</span><span class="cx">     my $lengthOfLongestOverloadedConstructorParameterList = LengthOfLongestFunctionParameterList($interface-&gt;constructors);
</span><span class="cx"> 
</span><span class="cx">     push(@$outputArray, &lt;&lt;END);
</span><del>-EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* state)
</ins><span class="cx"> {
</span><del>-    size_t argsCount = std::min&lt;size_t&gt;($lengthOfLongestOverloadedConstructorParameterList, exec-&gt;argumentCount());
</del><ins>+    size_t argsCount = std::min&lt;size_t&gt;($lengthOfLongestOverloadedConstructorParameterList, state-&gt;argumentCount());
</ins><span class="cx"> END
</span><span class="cx"> 
</span><span class="cx">     my %fetchedArguments = ();
</span><span class="lines">@@ -4659,20 +4659,20 @@
</span><span class="cx"> 
</span><span class="cx">         foreach my $parameterIndex (@neededArguments) {
</span><span class="cx">             next if exists $fetchedArguments{$parameterIndex};
</span><del>-            push(@$outputArray, &quot;    JSValue arg$parameterIndex(exec-&gt;argument($parameterIndex));\n&quot;);
</del><ins>+            push(@$outputArray, &quot;    JSValue arg$parameterIndex(state-&gt;argument($parameterIndex));\n&quot;);
</ins><span class="cx">             $fetchedArguments{$parameterIndex} = 1;
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         push(@$outputArray, &quot;    if ($parametersCheck)\n&quot;);
</span><del>-        push(@$outputArray, &quot;        return ${functionName}$overload-&gt;{overloadedIndex}(exec);\n&quot;);
</del><ins>+        push(@$outputArray, &quot;        return ${functionName}$overload-&gt;{overloadedIndex}(state);\n&quot;);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($leastNumMandatoryParams &gt;= 1) {
</span><span class="cx">         push(@$outputArray, &quot;    if (argsCount &lt; $leastNumMandatoryParams)\n&quot;);
</span><del>-        push(@$outputArray, &quot;        return throwVMError(exec, createNotEnoughArgumentsError(exec));\n&quot;);
</del><ins>+        push(@$outputArray, &quot;        return throwVMError(state, createNotEnoughArgumentsError(state));\n&quot;);
</ins><span class="cx">     }
</span><span class="cx">     push(@$outputArray, &lt;&lt;END);
</span><del>-    return throwVMTypeError(exec);
</del><ins>+    return throwVMTypeError(state);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> END
</span><span class="lines">@@ -4697,30 +4697,30 @@
</span><span class="cx">             $implIncludes{&quot;&lt;runtime/Error.h&gt;&quot;} = 1;
</span><span class="cx"> 
</span><span class="cx">             push(@$outputArray, &lt;&lt;END);
</span><del>-EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* jsConstructor = jsCast&lt;${constructorClassName}*&gt;(exec-&gt;callee());
</del><ins>+    auto* jsConstructor = jsCast&lt;${constructorClassName}*&gt;(state-&gt;callee());
</ins><span class="cx"> 
</span><del>-    ScriptExecutionContext* executionContext = jsConstructor-&gt;scriptExecutionContext();
-    if (!executionContext)
-        return throwVMError(exec, createReferenceError(exec, &quot;Constructor associated execution context is unavailable&quot;));
</del><ins>+    ScriptExecutionContext* stateutionContext = jsConstructor-&gt;scriptExecutionContext();
+    if (!stateutionContext)
+        return throwVMError(state, createReferenceError(state, &quot;Constructor associated stateution context is unavailable&quot;));
</ins><span class="cx"> 
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx"> 
</span><del>-    AtomicString eventType = exec-&gt;argument(0).toString(exec)-&gt;toAtomicString(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    AtomicString eventType = state-&gt;argument(0).toString(state)-&gt;toAtomicString(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><span class="cx">     ${interfaceName}Init eventInit;
</span><span class="cx"> 
</span><del>-    JSValue initializerValue = exec-&gt;argument(1);
</del><ins>+    JSValue initializerValue = state-&gt;argument(1);
</ins><span class="cx">     if (!initializerValue.isUndefinedOrNull()) {
</span><span class="cx">         // Given the above test, this will always yield an object.
</span><del>-        JSObject* initializerObject = initializerValue.toObject(exec);
</del><ins>+        JSObject* initializerObject = initializerValue.toObject(state);
</ins><span class="cx"> 
</span><span class="cx">         // Create the dictionary wrapper from the initializer object.
</span><del>-        JSDictionary dictionary(exec, initializerObject);
</del><ins>+        JSDictionary dictionary(state, initializerObject);
</ins><span class="cx"> 
</span><span class="cx">         // Attempt to fill in the EventInit.
</span><span class="cx">         if (!fill${interfaceName}Init(eventInit, dictionary))
</span><span class="lines">@@ -4728,7 +4728,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;${interfaceName}&gt; event = ${interfaceName}::create(eventType, eventInit);
</span><del>-    return JSValue::encode(toJS(exec, jsConstructor-&gt;globalObject(), event.get()));
</del><ins>+    return JSValue::encode(toJS(state, jsConstructor-&gt;globalObject(), event.get()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool fill${interfaceName}Init(${interfaceName}Init&amp; eventInit, JSDictionary&amp; dictionary)
</span><span class="lines">@@ -4767,9 +4767,9 @@
</span><span class="cx">                 $overloadedIndexString .= $function-&gt;{overloadedIndex};
</span><span class="cx">             }
</span><span class="cx"> 
</span><del>-            push(@$outputArray, &quot;EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}${overloadedIndexString}(ExecState* exec)\n&quot;);
</del><ins>+            push(@$outputArray, &quot;EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}${overloadedIndexString}(ExecState* state)\n&quot;);
</ins><span class="cx">             push(@$outputArray, &quot;{\n&quot;);
</span><del>-            push(@$outputArray, &quot;    auto* castedThis = jsCast&lt;${constructorClassName}*&gt;(exec-&gt;callee());\n&quot;);
</del><ins>+            push(@$outputArray, &quot;    auto* castedThis = jsCast&lt;${constructorClassName}*&gt;(state-&gt;callee());\n&quot;);
</ins><span class="cx"> 
</span><span class="cx">             my @constructorArgList;
</span><span class="cx"> 
</span><span class="lines">@@ -4788,20 +4788,20 @@
</span><span class="cx">             my ($dummy, $paramIndex) = GenerateParametersCheck($outputArray, $function, $interface, $numParameters, $interfaceName, &quot;constructorCallback&quot;, undef, undef, undef);
</span><span class="cx"> 
</span><span class="cx">             if ($codeGenerator-&gt;ExtendedAttributeContains($interface-&gt;extendedAttributes-&gt;{&quot;ConstructorCallWith&quot;}, &quot;ScriptState&quot;)) {
</span><del>-                push(@constructorArgList, &quot;*exec&quot;);
</del><ins>+                push(@constructorArgList, &quot;*state&quot;);
</ins><span class="cx">             }
</span><span class="cx">             if ($codeGenerator-&gt;ExtendedAttributeContains($interface-&gt;extendedAttributes-&gt;{&quot;ConstructorCallWith&quot;}, &quot;ScriptExecutionContext&quot;)) {
</span><span class="cx">                 push(@constructorArgList, &quot;*context&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    ScriptExecutionContext* context = castedThis-&gt;scriptExecutionContext();\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    if (!context)\n&quot;);
</span><del>-                push(@$outputArray, &quot;        return throwConstructorDocumentUnavailableError(*exec, \&quot;${interfaceName}\&quot;);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        return throwConstructorDocumentUnavailableError(*state, \&quot;${interfaceName}\&quot;);\n&quot;);
</ins><span class="cx">             }
</span><span class="cx">             if ($codeGenerator-&gt;ExtendedAttributeContains($interface-&gt;extendedAttributes-&gt;{&quot;ConstructorCallWith&quot;}, &quot;Document&quot;)) {
</span><span class="cx">                 $implIncludes{&quot;Document.h&quot;} = 1;
</span><span class="cx">                 push(@constructorArgList, &quot;document&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    ScriptExecutionContext* context = castedThis-&gt;scriptExecutionContext();\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    if (!context)\n&quot;);
</span><del>-                push(@$outputArray, &quot;        return throwConstructorDocumentUnavailableError(*exec, \&quot;${interfaceName}\&quot;);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        return throwConstructorDocumentUnavailableError(*state, \&quot;${interfaceName}\&quot;);\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;    auto&amp; document = downcast&lt;Document&gt;(*context);\n&quot;);
</span><span class="cx">             }
</span><span class="cx">             if ($generatingNamedConstructor) {
</span><span class="lines">@@ -4827,17 +4827,17 @@
</span><span class="cx"> 
</span><span class="cx">             if ($interface-&gt;extendedAttributes-&gt;{&quot;ConstructorRaisesException&quot;}) {
</span><span class="cx">                 push(@$outputArray, &quot;    if (ec) {\n&quot;);
</span><del>-                push(@$outputArray, &quot;        setDOMException(exec, ec);\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        setDOMException(state, ec);\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;        return JSValue::encode(JSValue());\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;    }\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             if ($codeGenerator-&gt;ExtendedAttributeContains($interface-&gt;extendedAttributes-&gt;{&quot;ConstructorCallWith&quot;}, &quot;ScriptState&quot;)) {
</span><del>-                 push(@$outputArray, &quot;    if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</del><ins>+                 push(@$outputArray, &quot;    if (UNLIKELY(state-&gt;hadException()))\n&quot;);
</ins><span class="cx">                  push(@$outputArray, &quot;        return JSValue::encode(jsUndefined());\n&quot;);
</span><span class="cx">             }
</span><span class="cx"> 
</span><del>-            push(@$outputArray, &quot;    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));\n&quot;);
</del><ins>+            push(@$outputArray, &quot;    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));\n&quot;);
</ins><span class="cx">             push(@$outputArray, &quot;}\n\n&quot;);
</span><span class="cx">         }
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -166,22 +166,22 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestActiveDOMObject::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestActiveDOMObject::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestActiveDOMObject*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    if (getStaticValueSlot&lt;JSTestActiveDOMObject, Base&gt;(exec, JSTestActiveDOMObjectTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestActiveDOMObject, Base&gt;(state, JSTestActiveDOMObjectTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestActiveDOMObjectExcitingAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestActiveDOMObjectExcitingAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestActiveDOMObject*&gt;(slotBase);
</span><del>-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis-&gt;impl()))
</del><ins>+    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis-&gt;impl()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.excitingAttr());
</span><span class="lines">@@ -189,14 +189,14 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestActiveDOMObjectConstructor(ExecState* exec, JSObject*, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestActiveDOMObjectConstructor(ExecState* state, JSObject*, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestActiveDOMObject* domObject = jsDynamicCast&lt;JSTestActiveDOMObject*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, domObject-&gt;impl()))
</del><ins>+        return throwVMTypeError(state);
+    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, domObject-&gt;impl()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    return JSValue::encode(JSTestActiveDOMObject::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+    return JSValue::encode(JSTestActiveDOMObject::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestActiveDOMObject::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span><span class="lines">@@ -204,37 +204,37 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestActiveDOMObjectConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionExcitingFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionExcitingFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestActiveDOMObject* castedThis = jsDynamicCast&lt;JSTestActiveDOMObject*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestActiveDOMObject&quot;, &quot;excitingFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestActiveDOMObject&quot;, &quot;excitingFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestActiveDOMObject::info());
</span><del>-    if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis-&gt;impl()))
</del><ins>+    if (!BindingSecurity::shouldAllowAccessToDOMWindow(state, castedThis-&gt;impl()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Node* nextChild = JSNode::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Node* nextChild = JSNode::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.excitingFunction(nextChild);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionPostMessage(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestActiveDOMObjectPrototypeFunctionPostMessage(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestActiveDOMObject* castedThis = jsDynamicCast&lt;JSTestActiveDOMObject*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestActiveDOMObject&quot;, &quot;postMessage&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestActiveDOMObject&quot;, &quot;postMessage&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestActiveDOMObject::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String message = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String message = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.postMessage(message);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestActiveDOMObject*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestActiveDOMObject&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestActiveDOMObject&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestActiveDOMObject*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCallbackcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -126,13 +126,13 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(exec, &quot;callbackWithNoParam&quot;), returnedException);
</del><ins>+    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(state, &quot;callbackWithNoParam&quot;), returnedException);
</ins><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -145,14 +145,14 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><del>-    args.append(toJS(exec, m_data-&gt;globalObject(), WTF::getPtr(arrayParam)));
</del><ins>+    args.append(toJS(state, m_data-&gt;globalObject(), WTF::getPtr(arrayParam)));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(exec, &quot;callbackWithArrayParam&quot;), returnedException);
</del><ins>+    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(state, &quot;callbackWithArrayParam&quot;), returnedException);
</ins><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -165,15 +165,15 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><del>-    args.append(srzParam ? srzParam-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull());
-    args.append(jsStringWithCache(exec, strArg));
</del><ins>+    args.append(srzParam ? srzParam-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull());
+    args.append(jsStringWithCache(state, strArg));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(exec, &quot;callbackWithSerializedScriptValueParam&quot;), returnedException);
</del><ins>+    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(state, &quot;callbackWithSerializedScriptValueParam&quot;), returnedException);
</ins><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -186,14 +186,14 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><del>-    args.append(toJS(exec, m_data-&gt;globalObject(), WTF::getPtr(listParam)));
</del><ins>+    args.append(toJS(state, m_data-&gt;globalObject(), WTF::getPtr(listParam)));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(exec, &quot;callbackWithStringList&quot;), returnedException);
</del><ins>+    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(state, &quot;callbackWithStringList&quot;), returnedException);
</ins><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -206,14 +206,14 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><span class="cx">     args.append(jsBoolean(boolParam));
</span><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(exec, &quot;callbackWithBoolean&quot;), returnedException);
</del><ins>+    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(state, &quot;callbackWithBoolean&quot;), returnedException);
</ins><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -226,15 +226,15 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><span class="cx">     args.append(jsNumber(longParam));
</span><del>-    args.append(toJS(exec, m_data-&gt;globalObject(), WTF::getPtr(testNodeParam)));
</del><ins>+    args.append(toJS(state, m_data-&gt;globalObject(), WTF::getPtr(testNodeParam)));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(exec, &quot;callbackRequiresThisToPass&quot;), returnedException);
</del><ins>+    m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Object, Identifier::fromString(state, &quot;callbackRequiresThisToPass&quot;), returnedException);
</ins><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCallbackh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCallback*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestCallback&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCallback&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCallbackFunctioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -71,14 +71,14 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Function, Identifier(), returnedException);
</span><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -91,15 +91,15 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><del>-    args.append(toJS(exec, m_data-&gt;globalObject(), WTF::getPtr(arrayParam)));
</del><ins>+    args.append(toJS(state, m_data-&gt;globalObject(), WTF::getPtr(arrayParam)));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Function, Identifier(), returnedException);
</span><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -112,16 +112,16 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><del>-    args.append(srzParam ? srzParam-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull());
-    args.append(jsStringWithCache(exec, strArg));
</del><ins>+    args.append(srzParam ? srzParam-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull());
+    args.append(jsStringWithCache(state, strArg));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Function, Identifier(), returnedException);
</span><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -134,15 +134,15 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><del>-    args.append(toJS(exec, m_data-&gt;globalObject(), WTF::getPtr(listParam)));
</del><ins>+    args.append(toJS(state, m_data-&gt;globalObject(), WTF::getPtr(listParam)));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Function, Identifier(), returnedException);
</span><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -155,15 +155,15 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><span class="cx">     args.append(jsBoolean(boolParam));
</span><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Function, Identifier(), returnedException);
</span><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -176,16 +176,16 @@
</span><span class="cx"> 
</span><span class="cx">     JSLockHolder lock(m_data-&gt;globalObject()-&gt;vm());
</span><span class="cx"> 
</span><del>-    ExecState* exec = m_data-&gt;globalObject()-&gt;globalExec();
</del><ins>+    ExecState* state = m_data-&gt;globalObject()-&gt;globalExec();
</ins><span class="cx">     MarkedArgumentBuffer args;
</span><span class="cx">     args.append(jsNumber(longParam));
</span><del>-    args.append(toJS(exec, m_data-&gt;globalObject(), WTF::getPtr(testNodeParam)));
</del><ins>+    args.append(toJS(state, m_data-&gt;globalObject(), WTF::getPtr(testNodeParam)));
</ins><span class="cx"> 
</span><span class="cx">     NakedPtr&lt;Exception&gt; returnedException;
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     m_data-&gt;invokeCallback(args, JSCallbackData::CallbackType::Function, Identifier(), returnedException);
</span><span class="cx">     if (returnedException)
</span><del>-        reportException(exec, returnedException);
</del><ins>+        reportException(state, returnedException);
</ins><span class="cx">     return !returnedException;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCallbackFunctionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCallbackFunction*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestCallbackFunction&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCallbackFunction&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -146,14 +146,14 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestCustomConstructorWithNoInterfaceObjectConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestCustomConstructorWithNoInterfaceObjectConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestCustomConstructorWithNoInterfaceObjectPrototype* domObject = jsDynamicCast&lt;JSTestCustomConstructorWithNoInterfaceObjectPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    JSValue constructor = JSTestCustomConstructorWithNoInterfaceObjectConstructor::create(exec-&gt;vm(), JSTestCustomConstructorWithNoInterfaceObjectConstructor::createStructure(exec-&gt;vm(), domObject-&gt;globalObject(), domObject-&gt;globalObject()-&gt;objectPrototype()), jsCast&lt;JSDOMGlobalObject*&gt;(domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    JSValue constructor = JSTestCustomConstructorWithNoInterfaceObjectConstructor::create(state-&gt;vm(), JSTestCustomConstructorWithNoInterfaceObjectConstructor::createStructure(state-&gt;vm(), domObject-&gt;globalObject(), domObject-&gt;globalObject()-&gt;objectPrototype()), jsCast&lt;JSDOMGlobalObject*&gt;(domObject-&gt;globalObject()));
</ins><span class="cx">     // Shadowing constructor property to ensure reusing the same constructor object
</span><del>-    domObject-&gt;putDirect(exec-&gt;vm(), exec-&gt;propertyNames().constructor, constructor, DontEnum | ReadOnly);
</del><ins>+    domObject-&gt;putDirect(state-&gt;vm(), state-&gt;propertyNames().constructor, constructor, DontEnum | ReadOnly);
</ins><span class="cx">     return JSValue::encode(constructor);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCustomConstructorWithNoInterfaceObject*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestCustomConstructorWithNoInterfaceObject&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCustomConstructorWithNoInterfaceObject&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestCustomConstructorWithNoInterfaceObject*);
</span><span class="cx"> 
</span><span class="cx"> // Custom constructor
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -160,19 +160,19 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestCustomNamedGetter::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestCustomNamedGetter::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestCustomNamedGetter*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    if (getStaticValueSlot&lt;JSTestCustomNamedGetter, Base&gt;(exec, JSTestCustomNamedGetterTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestCustomNamedGetter, Base&gt;(state, JSTestCustomNamedGetterTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     JSValue proto = thisObject-&gt;prototype();
</span><del>-    if (proto.isObject() &amp;&amp; jsCast&lt;JSObject*&gt;(proto)-&gt;hasProperty(exec, propertyName))
</del><ins>+    if (proto.isObject() &amp;&amp; jsCast&lt;JSObject*&gt;(proto)-&gt;hasProperty(state, propertyName))
</ins><span class="cx">         return false;
</span><span class="cx"> 
</span><span class="cx">     if (thisObject-&gt;classInfo() == info()) {
</span><span class="cx">         JSValue value;
</span><del>-        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {
</del><ins>+        if (thisObject-&gt;nameGetter(state, propertyName, value)) {
</ins><span class="cx">             slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);
</span><span class="cx">             return true;
</span><span class="cx">         }
</span><span class="lines">@@ -180,27 +180,27 @@
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestCustomNamedGetter::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned index, PropertySlot&amp; slot)
</del><ins>+bool JSTestCustomNamedGetter::getOwnPropertySlotByIndex(JSObject* object, ExecState* state, unsigned index, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestCustomNamedGetter*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    Identifier propertyName = Identifier::from(exec, index);
</del><ins>+    Identifier propertyName = Identifier::from(state, index);
</ins><span class="cx">     if (thisObject-&gt;classInfo() == info()) {
</span><span class="cx">         JSValue value;
</span><del>-        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {
</del><ins>+        if (thisObject-&gt;nameGetter(state, propertyName, value)) {
</ins><span class="cx">             slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);
</span><span class="cx">             return true;
</span><span class="cx">         }
</span><span class="cx">     }
</span><del>-    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
</del><ins>+    return Base::getOwnPropertySlotByIndex(thisObject, state, index, slot);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestCustomNamedGetterConstructor(ExecState* exec, JSObject*, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestCustomNamedGetterConstructor(ExecState* state, JSObject*, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestCustomNamedGetter* domObject = jsDynamicCast&lt;JSTestCustomNamedGetter*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestCustomNamedGetter::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestCustomNamedGetter::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestCustomNamedGetter::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span><span class="lines">@@ -208,18 +208,18 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestCustomNamedGetterConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestCustomNamedGetterPrototypeFunctionAnotherFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestCustomNamedGetterPrototypeFunctionAnotherFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestCustomNamedGetter* castedThis = jsDynamicCast&lt;JSTestCustomNamedGetter*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestCustomNamedGetter&quot;, &quot;anotherFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestCustomNamedGetter&quot;, &quot;anotherFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestCustomNamedGetter::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String str = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String str = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.anotherFunction(str);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGetterh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCustomNamedGetter*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestCustomNamedGetter&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCustomNamedGetter&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestCustomNamedGetter*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -88,30 +88,30 @@
</span><span class="cx">     static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestEventConstructorConstructor::constructJSTestEventConstructor(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestEventConstructorConstructor::constructJSTestEventConstructor(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* jsConstructor = jsCast&lt;JSTestEventConstructorConstructor*&gt;(exec-&gt;callee());
</del><ins>+    auto* jsConstructor = jsCast&lt;JSTestEventConstructorConstructor*&gt;(state-&gt;callee());
</ins><span class="cx"> 
</span><del>-    ScriptExecutionContext* executionContext = jsConstructor-&gt;scriptExecutionContext();
-    if (!executionContext)
-        return throwVMError(exec, createReferenceError(exec, &quot;Constructor associated execution context is unavailable&quot;));
</del><ins>+    ScriptExecutionContext* stateutionContext = jsConstructor-&gt;scriptExecutionContext();
+    if (!stateutionContext)
+        return throwVMError(state, createReferenceError(state, &quot;Constructor associated stateution context is unavailable&quot;));
</ins><span class="cx"> 
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx"> 
</span><del>-    AtomicString eventType = exec-&gt;argument(0).toString(exec)-&gt;toAtomicString(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    AtomicString eventType = state-&gt;argument(0).toString(state)-&gt;toAtomicString(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><span class="cx">     TestEventConstructorInit eventInit;
</span><span class="cx"> 
</span><del>-    JSValue initializerValue = exec-&gt;argument(1);
</del><ins>+    JSValue initializerValue = state-&gt;argument(1);
</ins><span class="cx">     if (!initializerValue.isUndefinedOrNull()) {
</span><span class="cx">         // Given the above test, this will always yield an object.
</span><del>-        JSObject* initializerObject = initializerValue.toObject(exec);
</del><ins>+        JSObject* initializerObject = initializerValue.toObject(state);
</ins><span class="cx"> 
</span><span class="cx">         // Create the dictionary wrapper from the initializer object.
</span><del>-        JSDictionary dictionary(exec, initializerObject);
</del><ins>+        JSDictionary dictionary(state, initializerObject);
</ins><span class="cx"> 
</span><span class="cx">         // Attempt to fill in the EventInit.
</span><span class="cx">         if (!fillTestEventConstructorInit(eventInit, dictionary))
</span><span class="lines">@@ -119,7 +119,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;TestEventConstructor&gt; event = TestEventConstructor::create(eventType, eventInit);
</span><del>-    return JSValue::encode(toJS(exec, jsConstructor-&gt;globalObject(), event.get()));
</del><ins>+    return JSValue::encode(toJS(state, jsConstructor-&gt;globalObject(), event.get()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool fillTestEventConstructorInit(TestEventConstructorInit&amp; eventInit, JSDictionary&amp; dictionary)
</span><span class="lines">@@ -197,46 +197,46 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestEventConstructorAttr1(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestEventConstructorAttr1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestEventConstructor* castedThis = jsDynamicCast&lt;JSTestEventConstructor*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestEventConstructorPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestEventConstructor&quot;, &quot;attr1&quot;);
-        return throwGetterTypeError(*exec, &quot;TestEventConstructor&quot;, &quot;attr1&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestEventConstructor&quot;, &quot;attr1&quot;);
+        return throwGetterTypeError(*state, &quot;TestEventConstructor&quot;, &quot;attr1&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.attr1());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.attr1());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestEventConstructorAttr2(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestEventConstructorAttr2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestEventConstructor* castedThis = jsDynamicCast&lt;JSTestEventConstructor*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestEventConstructorPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestEventConstructor&quot;, &quot;attr2&quot;);
-        return throwGetterTypeError(*exec, &quot;TestEventConstructor&quot;, &quot;attr2&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestEventConstructor&quot;, &quot;attr2&quot;);
+        return throwGetterTypeError(*state, &quot;TestEventConstructor&quot;, &quot;attr2&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.attr2());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.attr2());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestEventConstructorConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestEventConstructorConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestEventConstructorPrototype* domObject = jsDynamicCast&lt;JSTestEventConstructorPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestEventConstructor::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestEventConstructor::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestEventConstructor::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -82,7 +82,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventConstructor*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestEventConstructor&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestEventConstructor&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestEventConstructor*);
</span><span class="cx"> 
</span><span class="cx"> bool fillTestEventConstructorInit(TestEventConstructorInit&amp;, JSDictionary&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -172,7 +172,7 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestEventTarget::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestEventTarget::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestEventTarget*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="lines">@@ -180,18 +180,18 @@
</span><span class="cx">     if (optionalIndex &amp;&amp; optionalIndex.value() &lt; thisObject-&gt;impl().length()) {
</span><span class="cx">         unsigned index = optionalIndex.value();
</span><span class="cx">         unsigned attributes = DontDelete | ReadOnly;
</span><del>-        slot.setValue(thisObject, attributes, toJS(exec, thisObject-&gt;globalObject(), thisObject-&gt;impl().item(index)));
</del><ins>+        slot.setValue(thisObject, attributes, toJS(state, thisObject-&gt;globalObject(), thisObject-&gt;impl().item(index)));
</ins><span class="cx">         return true;
</span><span class="cx">     }
</span><del>-    if (getStaticValueSlot&lt;JSTestEventTarget, Base&gt;(exec, JSTestEventTargetTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestEventTarget, Base&gt;(state, JSTestEventTargetTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     JSValue proto = thisObject-&gt;prototype();
</span><del>-    if (proto.isObject() &amp;&amp; jsCast&lt;JSObject*&gt;(proto)-&gt;hasProperty(exec, propertyName))
</del><ins>+    if (proto.isObject() &amp;&amp; jsCast&lt;JSObject*&gt;(proto)-&gt;hasProperty(state, propertyName))
</ins><span class="cx">         return false;
</span><span class="cx"> 
</span><span class="cx">     if (thisObject-&gt;classInfo() == info()) {
</span><span class="cx">         JSValue value;
</span><del>-        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {
</del><ins>+        if (thisObject-&gt;nameGetter(state, propertyName, value)) {
</ins><span class="cx">             slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);
</span><span class="cx">             return true;
</span><span class="cx">         }
</span><span class="lines">@@ -199,41 +199,41 @@
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestEventTarget::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned index, PropertySlot&amp; slot)
</del><ins>+bool JSTestEventTarget::getOwnPropertySlotByIndex(JSObject* object, ExecState* state, unsigned index, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestEventTarget*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx">     if (index &lt; thisObject-&gt;impl().length()) {
</span><span class="cx">         unsigned attributes = DontDelete | ReadOnly;
</span><del>-        slot.setValue(thisObject, attributes, toJS(exec, thisObject-&gt;globalObject(), thisObject-&gt;impl().item(index)));
</del><ins>+        slot.setValue(thisObject, attributes, toJS(state, thisObject-&gt;globalObject(), thisObject-&gt;impl().item(index)));
</ins><span class="cx">         return true;
</span><span class="cx">     }
</span><del>-    Identifier propertyName = Identifier::from(exec, index);
</del><ins>+    Identifier propertyName = Identifier::from(state, index);
</ins><span class="cx">     if (thisObject-&gt;classInfo() == info()) {
</span><span class="cx">         JSValue value;
</span><del>-        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {
</del><ins>+        if (thisObject-&gt;nameGetter(state, propertyName, value)) {
</ins><span class="cx">             slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);
</span><span class="cx">             return true;
</span><span class="cx">         }
</span><span class="cx">     }
</span><del>-    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
</del><ins>+    return Base::getOwnPropertySlotByIndex(thisObject, state, index, slot);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestEventTargetConstructor(ExecState* exec, JSObject*, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestEventTargetConstructor(ExecState* state, JSObject*, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestEventTarget* domObject = jsDynamicCast&lt;JSTestEventTarget*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestEventTarget::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestEventTarget::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestEventTarget::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray&amp; propertyNames, EnumerationMode mode)
</del><ins>+void JSTestEventTarget::getOwnPropertyNames(JSObject* object, ExecState* state, PropertyNameArray&amp; propertyNames, EnumerationMode mode)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestEventTarget*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx">     for (unsigned i = 0, count = thisObject-&gt;impl().length(); i &lt; count; ++i)
</span><del>-        propertyNames.add(Identifier::from(exec, i));
-    Base::getOwnPropertyNames(thisObject, exec, propertyNames, mode);
</del><ins>+        propertyNames.add(Identifier::from(state, i));
+    Base::getOwnPropertyNames(thisObject, state, propertyNames, mode);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestEventTarget::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span><span class="lines">@@ -241,70 +241,70 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestEventTargetConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionItem(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionItem(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestEventTarget* castedThis = jsDynamicCast&lt;JSTestEventTarget*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestEventTarget&quot;, &quot;item&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestEventTarget&quot;, &quot;item&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    unsigned index = toUInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    unsigned index = toUInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.item(index)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.item(index)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionAddEventListener(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionAddEventListener(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestEventTarget* castedThis = jsDynamicCast&lt;JSTestEventTarget*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestEventTarget&quot;, &quot;addEventListener&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestEventTarget&quot;, &quot;addEventListener&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue listener = exec-&gt;argument(1);
</del><ins>+    JSValue listener = state-&gt;argument(1);
</ins><span class="cx">     if (UNLIKELY(!listener.isObject()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    impl.addEventListener(exec-&gt;argument(0).toString(exec)-&gt;toAtomicString(exec), createJSEventListenerForAdd(*exec, *asObject(listener), *castedThis), exec-&gt;argument(2).toBoolean(exec));
</del><ins>+    impl.addEventListener(state-&gt;argument(0).toString(state)-&gt;toAtomicString(state), createJSEventListenerForAdd(*state, *asObject(listener), *castedThis), state-&gt;argument(2).toBoolean(state));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionRemoveEventListener(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionRemoveEventListener(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestEventTarget* castedThis = jsDynamicCast&lt;JSTestEventTarget*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestEventTarget&quot;, &quot;removeEventListener&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestEventTarget&quot;, &quot;removeEventListener&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue listener = exec-&gt;argument(1);
</del><ins>+    JSValue listener = state-&gt;argument(1);
</ins><span class="cx">     if (UNLIKELY(!listener.isObject()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    impl.removeEventListener(exec-&gt;argument(0).toString(exec)-&gt;toAtomicString(exec), createJSEventListenerForRemove(*exec, *asObject(listener), *castedThis).ptr(), exec-&gt;argument(2).toBoolean(exec));
</del><ins>+    impl.removeEventListener(state-&gt;argument(0).toString(state)-&gt;toAtomicString(state), createJSEventListenerForRemove(*state, *asObject(listener), *castedThis).ptr(), state-&gt;argument(2).toBoolean(state));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionDispatchEvent(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestEventTargetPrototypeFunctionDispatchEvent(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestEventTarget* castedThis = jsDynamicCast&lt;JSTestEventTarget*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestEventTarget&quot;, &quot;dispatchEvent&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestEventTarget&quot;, &quot;dispatchEvent&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    Event* evt = JSEvent::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Event* evt = JSEvent::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsBoolean(impl.dispatchEvent(evt, ec));
</span><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargeth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -90,7 +90,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventTarget*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestEventTarget&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestEventTarget&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestEventTarget*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -156,33 +156,33 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestException::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestException::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestException*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    if (getStaticValueSlot&lt;JSTestException, Base&gt;(exec, JSTestExceptionTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestException, Base&gt;(state, JSTestExceptionTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestExceptionName(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestExceptionName(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestException*&gt;(slotBase);
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.name());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.name());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestExceptionConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestExceptionConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestExceptionPrototype* domObject = jsDynamicCast&lt;JSTestExceptionPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestException::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestException::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestException::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -84,7 +84,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestException*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestException&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestException&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestException*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -139,12 +139,12 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestGenerateIsReachableConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestGenerateIsReachableConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestGenerateIsReachablePrototype* domObject = jsDynamicCast&lt;JSTestGenerateIsReachablePrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestGenerateIsReachable::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestGenerateIsReachable::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestGenerateIsReachable::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachableh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestGenerateIsReachable*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestGenerateIsReachable&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestGenerateIsReachable&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestGenerateIsReachable*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -265,27 +265,27 @@
</span><span class="cx"> COMPILE_ASSERT(2 == TestSupplemental::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestInterfaceConstructor::constructJSTestInterface(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestInterfaceConstructor::constructJSTestInterface(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestInterfaceConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    auto* castedThis = jsCast&lt;JSTestInterfaceConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    String str1 = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str1 = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String str2 = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str2 = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     ScriptExecutionContext* context = castedThis-&gt;scriptExecutionContext();
</span><span class="cx">     if (!context)
</span><del>-        return throwConstructorDocumentUnavailableError(*exec, &quot;TestInterface&quot;);
</del><ins>+        return throwConstructorDocumentUnavailableError(*state, &quot;TestInterface&quot;);
</ins><span class="cx">     RefPtr&lt;TestInterface&gt; object = TestInterface::create(*context, str1, str2, ec);
</span><span class="cx">     if (ec) {
</span><del>-        setDOMException(exec, ec);
</del><ins>+        setDOMException(state, ec);
</ins><span class="cx">         return JSValue::encode(JSValue());
</span><span class="cx">     }
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestInterfaceConstructor::s_info = { &quot;TestInterfaceConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestInterfaceConstructor) };
</span><span class="lines">@@ -437,19 +437,19 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestInterface::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestInterface::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestInterface*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    if (getStaticValueSlot&lt;JSTestInterface, Base&gt;(exec, JSTestInterfaceTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestInterface, Base&gt;(state, JSTestInterfaceTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue jsTestInterfaceConstructorImplementsStaticReadOnlyAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceConstructorImplementsStaticReadOnlyAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSValue result = jsNumber(TestInterface::implementsStaticReadOnlyAttr());
</span><span class="lines">@@ -459,90 +459,90 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue jsTestInterfaceConstructorImplementsStaticAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceConstructorImplementsStaticAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    JSValue result = jsStringWithCache(exec, TestInterface::implementsStaticAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, TestInterface::implementsStaticAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue jsTestInterfaceImplementsStr1(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceImplementsStr1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestInterface&quot;, &quot;implementsStr1&quot;);
-        return throwGetterTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsStr1&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestInterface&quot;, &quot;implementsStr1&quot;);
+        return throwGetterTypeError(*state, &quot;TestInterface&quot;, &quot;implementsStr1&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.implementsStr1());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.implementsStr1());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue jsTestInterfaceImplementsStr2(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceImplementsStr2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
-        return throwGetterTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
+        return throwGetterTypeError(*state, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.implementsStr2());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.implementsStr2());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue jsTestInterfaceImplementsStr3(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceImplementsStr3(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestInterface*&gt;(slotBase);
</span><del>-    return JSValue::encode(castedThis-&gt;implementsStr3(exec));
</del><ins>+    return JSValue::encode(castedThis-&gt;implementsStr3(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue jsTestInterfaceImplementsNode(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceImplementsNode(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
-        return throwGetterTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
+        return throwGetterTypeError(*state, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.implementsNode()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.implementsNode()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSValue result = jsNumber(TestSupplemental::supplementalStaticReadOnlyAttr());
</span><span class="lines">@@ -552,121 +552,121 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue jsTestInterfaceConstructorSupplementalStaticAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceConstructorSupplementalStaticAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStaticAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, TestSupplemental::supplementalStaticAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue jsTestInterfaceSupplementalStr1(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceSupplementalStr1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestInterface&quot;, &quot;supplementalStr1&quot;);
-        return throwGetterTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalStr1&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestInterface&quot;, &quot;supplementalStr1&quot;);
+        return throwGetterTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalStr1&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStr1(&amp;impl));
</del><ins>+    JSValue result = jsStringWithCache(state, TestSupplemental::supplementalStr1(&amp;impl));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue jsTestInterfaceSupplementalStr2(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceSupplementalStr2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
-        return throwGetterTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
+        return throwGetterTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStr2(&amp;impl));
</del><ins>+    JSValue result = jsStringWithCache(state, TestSupplemental::supplementalStr2(&amp;impl));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue jsTestInterfaceSupplementalStr3(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceSupplementalStr3(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestInterface*&gt;(slotBase);
</span><del>-    return JSValue::encode(castedThis-&gt;supplementalStr3(exec));
</del><ins>+    return JSValue::encode(castedThis-&gt;supplementalStr3(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue jsTestInterfaceSupplementalNode(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceSupplementalNode(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
-        return throwGetterTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
+        return throwGetterTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(TestSupplemental::supplementalNode(&amp;impl)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(TestSupplemental::supplementalNode(&amp;impl)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestInterfaceConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestInterfaceConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestInterfacePrototype* domObject = jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestInterface::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestInterface::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestInterface::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot&amp; slot)
</del><ins>+void JSTestInterface::put(JSCell* cell, ExecState* state, PropertyName propertyName, JSValue value, PutPropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestInterface*&gt;(cell);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    if (thisObject-&gt;putDelegate(exec, propertyName, value, slot))
</del><ins>+    if (thisObject-&gt;putDelegate(state, propertyName, value, slot))
</ins><span class="cx">         return;
</span><del>-    Base::put(thisObject, exec, propertyName, value, slot);
</del><ins>+    Base::put(thisObject, state, propertyName, value, slot);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestInterface::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)
</del><ins>+void JSTestInterface::putByIndex(JSCell* cell, ExecState* state, unsigned index, JSValue value, bool shouldThrow)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestInterface*&gt;(cell);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    Identifier propertyName = Identifier::from(exec, index);
</del><ins>+    Identifier propertyName = Identifier::from(state, index);
</ins><span class="cx">     PutPropertySlot slot(thisObject, shouldThrow);
</span><del>-    if (thisObject-&gt;putDelegate(exec, propertyName, value, slot))
</del><ins>+    if (thisObject-&gt;putDelegate(state, propertyName, value, slot))
</ins><span class="cx">         return;
</span><del>-    Base::putByIndex(cell, exec, index, value, shouldThrow);
</del><ins>+    Base::putByIndex(cell, state, index, value, shouldThrow);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-void setJSTestInterfaceConstructorImplementsStaticAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceConstructorImplementsStaticAttr(ExecState* state, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     TestInterface::setImplementsStaticAttr(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -674,21 +674,21 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-void setJSTestInterfaceImplementsStr2(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceImplementsStr2(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestInterface&quot;, &quot;implementsStr2&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setImplementsStr2(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -696,35 +696,35 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-void setJSTestInterfaceImplementsStr3(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceImplementsStr3(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestInterface*&gt;(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    UNUSED_PARAM(exec);
-    castedThis-&gt;setImplementsStr3(exec, value);
</del><ins>+    UNUSED_PARAM(state);
+    castedThis-&gt;setImplementsStr3(state, value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-void setJSTestInterfaceImplementsNode(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceImplementsNode(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestInterface&quot;, &quot;implementsNode&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     Node* nativeValue = JSNode::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setImplementsNode(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -732,12 +732,12 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-void setJSTestInterfaceConstructorSupplementalStaticAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceConstructorSupplementalStaticAttr(ExecState* state, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     TestSupplemental::setSupplementalStaticAttr(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -745,21 +745,21 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-void setJSTestInterfaceSupplementalStr2(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceSupplementalStr2(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalStr2&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     TestSupplemental::setSupplementalStr2(&amp;impl, nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -767,35 +767,35 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-void setJSTestInterfaceSupplementalStr3(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceSupplementalStr3(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestInterface*&gt;(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    UNUSED_PARAM(exec);
-    castedThis-&gt;setSupplementalStr3(exec, value);
</del><ins>+    UNUSED_PARAM(state);
+    castedThis-&gt;setSupplementalStr3(state, value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-void setJSTestInterfaceSupplementalNode(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestInterfaceSupplementalNode(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestInterfacePrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalNode&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     Node* nativeValue = JSNode::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     TestSupplemental::setSupplementalNode(&amp;impl, nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -808,12 +808,12 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionImplementsMethod1(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionImplementsMethod1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsMethod1&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestInterface&quot;, &quot;implementsMethod1&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     impl.implementsMethod1();
</span><span class="lines">@@ -823,49 +823,49 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionImplementsMethod2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionImplementsMethod2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsMethod2&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestInterface&quot;, &quot;implementsMethod2&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.implementsMethod2(scriptContext, strArg, objArg, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.implementsMethod2(scriptContext, strArg, objArg, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionImplementsMethod3(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionImplementsMethod3(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestInterface&quot;, &quot;implementsMethod3&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestInterface&quot;, &quot;implementsMethod3&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><del>-    return JSValue::encode(castedThis-&gt;implementsMethod3(exec));
</del><ins>+    return JSValue::encode(castedThis-&gt;implementsMethod3(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition22) || ENABLE(Condition23)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfaceConstructorFunctionImplementsMethod4(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfaceConstructorFunctionImplementsMethod4(ExecState* state)
</ins><span class="cx"> {
</span><span class="cx">     TestInterface::implementsMethod4();
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -874,12 +874,12 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod1(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalMethod1&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalMethod1&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestSupplemental::supplementalMethod1(&amp;impl);
</span><span class="lines">@@ -889,49 +889,49 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalMethod2&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalMethod2&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(TestSupplemental::supplementalMethod2(&amp;impl, scriptContext, strArg, objArg, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(TestSupplemental::supplementalMethod2(&amp;impl, scriptContext, strArg, objArg, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod3(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfacePrototypeFunctionSupplementalMethod3(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestInterface* castedThis = jsDynamicCast&lt;JSTestInterface*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestInterface&quot;, &quot;supplementalMethod3&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestInterface&quot;, &quot;supplementalMethod3&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><del>-    return JSValue::encode(castedThis-&gt;supplementalMethod3(exec));
</del><ins>+    return JSValue::encode(castedThis-&gt;supplementalMethod3(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition11) || ENABLE(Condition12)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestInterfaceConstructorFunctionSupplementalMethod4(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestInterfaceConstructorFunctionSupplementalMethod4(ExecState* state)
</ins><span class="cx"> {
</span><span class="cx">     TestSupplemental::supplementalMethod4();
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -110,7 +110,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestInterface*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestInterface&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestInterface&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestInterface*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -147,12 +147,12 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestMediaQueryListListenerConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestMediaQueryListListenerConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestMediaQueryListListenerPrototype* domObject = jsDynamicCast&lt;JSTestMediaQueryListListenerPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestMediaQueryListListener::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestMediaQueryListListener::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestMediaQueryListListener::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span><span class="lines">@@ -160,19 +160,19 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestMediaQueryListListenerConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestMediaQueryListListenerPrototypeFunctionMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestMediaQueryListListenerPrototypeFunctionMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestMediaQueryListListener* castedThis = jsDynamicCast&lt;JSTestMediaQueryListListener*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestMediaQueryListListener&quot;, &quot;method&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestMediaQueryListListener&quot;, &quot;method&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestMediaQueryListListener::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (!exec-&gt;argument(0).isFunction())
-        return throwArgumentMustBeFunctionError(*exec, 0, &quot;listener&quot;, &quot;TestMediaQueryListListener&quot;, &quot;method&quot;);
-    RefPtr&lt;MediaQueryListListener&gt; listener = JSMediaQueryListListener::create(asObject(exec-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    if (!state-&gt;argument(0).isFunction())
+        return throwArgumentMustBeFunctionError(*state, 0, &quot;listener&quot;, &quot;TestMediaQueryListListener&quot;, &quot;method&quot;);
+    RefPtr&lt;MediaQueryListListener&gt; listener = JSMediaQueryListListener::create(asObject(state-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</ins><span class="cx">     impl.method(listener);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestMediaQueryListListener*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestMediaQueryListListener&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestMediaQueryListListener&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestMediaQueryListListener*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -123,27 +123,27 @@
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestNamedConstructorNamedConstructor::constructJSTestNamedConstructor(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestNamedConstructorNamedConstructor::constructJSTestNamedConstructor(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestNamedConstructorNamedConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    auto* castedThis = jsCast&lt;JSTestNamedConstructorNamedConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    String str1 = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str1 = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String str2 = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str2 = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String str3 = exec-&gt;argument(2).isUndefined() ? String() : exec-&gt;uncheckedArgument(2).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str3 = state-&gt;argument(2).isUndefined() ? String() : state-&gt;uncheckedArgument(2).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     RefPtr&lt;TestNamedConstructor&gt; object = TestNamedConstructor::createForJSConstructor(*castedThis-&gt;document(), str1, str2, str3, ec);
</span><span class="cx">     if (ec) {
</span><del>-        setDOMException(exec, ec);
</del><ins>+        setDOMException(state, ec);
</ins><span class="cx">         return JSValue::encode(JSValue());
</span><span class="cx">     }
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestNamedConstructorNamedConstructor::s_info = { &quot;AudioConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNamedConstructorNamedConstructor) };
</span><span class="lines">@@ -212,12 +212,12 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNamedConstructorConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNamedConstructorConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestNamedConstructorPrototype* domObject = jsDynamicCast&lt;JSTestNamedConstructorPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestNamedConstructor::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestNamedConstructor::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestNamedConstructor::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNamedConstructor*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestNamedConstructor&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNamedConstructor&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestNamedConstructor*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -88,11 +88,11 @@
</span><span class="cx">     static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestNodeConstructor::constructJSTestNode(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestNodeConstructor::constructJSTestNode(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestNodeConstructor*&gt;(exec-&gt;callee());
</del><ins>+    auto* castedThis = jsCast&lt;JSTestNodeConstructor*&gt;(state-&gt;callee());
</ins><span class="cx">     RefPtr&lt;TestNode&gt; object = TestNode::create();
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestNodeConstructor::s_info = { &quot;TestNodeConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNodeConstructor) };
</span><span class="lines">@@ -150,46 +150,46 @@
</span><span class="cx">     return getDOMPrototype&lt;JSTestNode&gt;(vm, globalObject);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNodeName(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNodeName(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestNode* castedThis = jsDynamicCast&lt;JSTestNode*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNodePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestNode&quot;, &quot;name&quot;);
-        return throwGetterTypeError(*exec, &quot;TestNode&quot;, &quot;name&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestNode&quot;, &quot;name&quot;);
+        return throwGetterTypeError(*state, &quot;TestNode&quot;, &quot;name&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.name());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.name());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNodeConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNodeConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestNodePrototype* domObject = jsDynamicCast&lt;JSTestNodePrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestNode::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestNode::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void setJSTestNodeName(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestNodeName(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestNode* castedThis = jsDynamicCast&lt;JSTestNode*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNodePrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestNode&quot;, &quot;name&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestNode&quot;, &quot;name&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestNode&quot;, &quot;name&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestNode&quot;, &quot;name&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setName(nativeValue);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -168,19 +168,19 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNondeterministicNondeterministicReadonlyAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNondeterministicNondeterministicReadonlyAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicReadonlyAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicReadonlyAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicReadonlyAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicReadonlyAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx"> #if ENABLE(WEB_REPLAY)
</span><del>-    JSGlobalObject* globalObject = exec-&gt;lexicalGlobalObject();
</del><ins>+    JSGlobalObject* globalObject = state-&gt;lexicalGlobalObject();
</ins><span class="cx">     InputCursor&amp; cursor = globalObject-&gt;inputCursor();
</span><span class="cx">     static NeverDestroyed&lt;const AtomicString&gt; bindingName(&quot;TestNondeterministic.nondeterministicReadonlyAttr&quot;, AtomicString::ConstructFromLiteral);
</span><span class="cx">     if (cursor.isCapturing()) {
</span><span class="lines">@@ -205,25 +205,25 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNondeterministicNondeterministicWriteableAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNondeterministicNondeterministicWriteableAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx"> #if ENABLE(WEB_REPLAY)
</span><del>-    JSGlobalObject* globalObject = exec-&gt;lexicalGlobalObject();
</del><ins>+    JSGlobalObject* globalObject = state-&gt;lexicalGlobalObject();
</ins><span class="cx">     InputCursor&amp; cursor = globalObject-&gt;inputCursor();
</span><span class="cx">     static NeverDestroyed&lt;const AtomicString&gt; bindingName(&quot;TestNondeterministic.nondeterministicWriteableAttr&quot;, AtomicString::ConstructFromLiteral);
</span><span class="cx">     if (cursor.isCapturing()) {
</span><span class="cx">         String memoizedResult = castedThis-&gt;impl().nondeterministicWriteableAttr();
</span><span class="cx">         cursor.appendInput&lt;MemoizedDOMResult&lt;String&gt;&gt;(bindingName.get().string(), memoizedResult, 0);
</span><del>-        JSValue result = jsStringWithCache(exec, memoizedResult);
</del><ins>+        JSValue result = jsStringWithCache(state, memoizedResult);
</ins><span class="cx">         return JSValue::encode(result);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -231,36 +231,36 @@
</span><span class="cx">         String memoizedResult;
</span><span class="cx">         MemoizedDOMResultBase* input = cursor.fetchInput&lt;MemoizedDOMResultBase&gt;();
</span><span class="cx">         if (input &amp;&amp; input-&gt;convertTo&lt;String&gt;(memoizedResult)) {
</span><del>-            JSValue result = jsStringWithCache(exec, memoizedResult);
</del><ins>+            JSValue result = jsStringWithCache(state, memoizedResult);
</ins><span class="cx">             return JSValue::encode(result);
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.nondeterministicWriteableAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.nondeterministicWriteableAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNondeterministicNondeterministicExceptionAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNondeterministicNondeterministicExceptionAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx"> #if ENABLE(WEB_REPLAY)
</span><del>-    JSGlobalObject* globalObject = exec-&gt;lexicalGlobalObject();
</del><ins>+    JSGlobalObject* globalObject = state-&gt;lexicalGlobalObject();
</ins><span class="cx">     InputCursor&amp; cursor = globalObject-&gt;inputCursor();
</span><span class="cx">     static NeverDestroyed&lt;const AtomicString&gt; bindingName(&quot;TestNondeterministic.nondeterministicExceptionAttr&quot;, AtomicString::ConstructFromLiteral);
</span><span class="cx">     if (cursor.isCapturing()) {
</span><span class="cx">         String memoizedResult = castedThis-&gt;impl().nondeterministicExceptionAttr();
</span><span class="cx">         cursor.appendInput&lt;MemoizedDOMResult&lt;String&gt;&gt;(bindingName.get().string(), memoizedResult, 0);
</span><del>-        JSValue result = jsStringWithCache(exec, memoizedResult);
</del><ins>+        JSValue result = jsStringWithCache(state, memoizedResult);
</ins><span class="cx">         return JSValue::encode(result);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -268,38 +268,38 @@
</span><span class="cx">         String memoizedResult;
</span><span class="cx">         MemoizedDOMResultBase* input = cursor.fetchInput&lt;MemoizedDOMResultBase&gt;();
</span><span class="cx">         if (input &amp;&amp; input-&gt;convertTo&lt;String&gt;(memoizedResult)) {
</span><del>-            JSValue result = jsStringWithCache(exec, memoizedResult);
</del><ins>+            JSValue result = jsStringWithCache(state, memoizedResult);
</ins><span class="cx">             return JSValue::encode(result);
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.nondeterministicExceptionAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.nondeterministicExceptionAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx"> #if ENABLE(WEB_REPLAY)
</span><del>-    JSGlobalObject* globalObject = exec-&gt;lexicalGlobalObject();
</del><ins>+    JSGlobalObject* globalObject = state-&gt;lexicalGlobalObject();
</ins><span class="cx">     InputCursor&amp; cursor = globalObject-&gt;inputCursor();
</span><span class="cx">     static NeverDestroyed&lt;const AtomicString&gt; bindingName(&quot;TestNondeterministic.nondeterministicGetterExceptionAttr&quot;, AtomicString::ConstructFromLiteral);
</span><span class="cx">     if (cursor.isCapturing()) {
</span><span class="cx">         String memoizedResult = castedThis-&gt;impl().nondeterministicGetterExceptionAttr(ec);
</span><span class="cx">         cursor.appendInput&lt;MemoizedDOMResult&lt;String&gt;&gt;(bindingName.get().string(), memoizedResult, ec);
</span><del>-        JSValue result = jsStringWithCache(exec, memoizedResult);
-        setDOMException(exec, ec);
</del><ins>+        JSValue result = jsStringWithCache(state, memoizedResult);
+        setDOMException(state, ec);
</ins><span class="cx">         return JSValue::encode(result);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -307,38 +307,38 @@
</span><span class="cx">         String memoizedResult;
</span><span class="cx">         MemoizedDOMResultBase* input = cursor.fetchInput&lt;MemoizedDOMResultBase&gt;();
</span><span class="cx">         if (input &amp;&amp; input-&gt;convertTo&lt;String&gt;(memoizedResult)) {
</span><del>-            JSValue result = jsStringWithCache(exec, memoizedResult);
-            setDOMException(exec, input-&gt;exceptionCode());
</del><ins>+            JSValue result = jsStringWithCache(state, memoizedResult);
+            setDOMException(state, input-&gt;exceptionCode());
</ins><span class="cx">             return JSValue::encode(result);
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.nondeterministicGetterExceptionAttr(ec));
-    setDOMException(exec, ec);
</del><ins>+    JSValue result = jsStringWithCache(state, impl.nondeterministicGetterExceptionAttr(ec));
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx"> #if ENABLE(WEB_REPLAY)
</span><del>-    JSGlobalObject* globalObject = exec-&gt;lexicalGlobalObject();
</del><ins>+    JSGlobalObject* globalObject = state-&gt;lexicalGlobalObject();
</ins><span class="cx">     InputCursor&amp; cursor = globalObject-&gt;inputCursor();
</span><span class="cx">     static NeverDestroyed&lt;const AtomicString&gt; bindingName(&quot;TestNondeterministic.nondeterministicSetterExceptionAttr&quot;, AtomicString::ConstructFromLiteral);
</span><span class="cx">     if (cursor.isCapturing()) {
</span><span class="cx">         String memoizedResult = castedThis-&gt;impl().nondeterministicSetterExceptionAttr();
</span><span class="cx">         cursor.appendInput&lt;MemoizedDOMResult&lt;String&gt;&gt;(bindingName.get().string(), memoizedResult, 0);
</span><del>-        JSValue result = jsStringWithCache(exec, memoizedResult);
</del><ins>+        JSValue result = jsStringWithCache(state, memoizedResult);
</ins><span class="cx">         return JSValue::encode(result);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -346,104 +346,104 @@
</span><span class="cx">         String memoizedResult;
</span><span class="cx">         MemoizedDOMResultBase* input = cursor.fetchInput&lt;MemoizedDOMResultBase&gt;();
</span><span class="cx">         if (input &amp;&amp; input-&gt;convertTo&lt;String&gt;(memoizedResult)) {
</span><del>-            JSValue result = jsStringWithCache(exec, memoizedResult);
</del><ins>+            JSValue result = jsStringWithCache(state, memoizedResult);
</ins><span class="cx">             return JSValue::encode(result);
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.nondeterministicSetterExceptionAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.nondeterministicSetterExceptionAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestNondeterministicConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestNondeterministicConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestNondeterministicPrototype* domObject = jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestNondeterministic::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestNondeterministic::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void setJSTestNondeterministicNondeterministicWriteableAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestNondeterministicNondeterministicWriteableAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicWriteableAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setNondeterministicWriteableAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestNondeterministicNondeterministicExceptionAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestNondeterministicNondeterministicExceptionAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicExceptionAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setNondeterministicExceptionAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestNondeterministicNondeterministicGetterExceptionAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicGetterExceptionAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setNondeterministicGetterExceptionAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestNondeterministicNondeterministicSetterExceptionAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestNondeterministicPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicSetterExceptionAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setNondeterministicSetterExceptionAttr(nativeValue, ec);
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="lines">@@ -452,17 +452,17 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestNondeterministicConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestNondeterministicPrototypeFunctionNondeterministicZeroArgFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestNondeterministicPrototypeFunctionNondeterministicZeroArgFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestNondeterministic* castedThis = jsDynamicCast&lt;JSTestNondeterministic*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestNondeterministic&quot;, &quot;nondeterministicZeroArgFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestNondeterministic&quot;, &quot;nondeterministicZeroArgFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestNondeterministic::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result;
</span><span class="cx"> #if ENABLE(WEB_REPLAY)
</span><del>-    InputCursor&amp; cursor = exec-&gt;lexicalGlobalObject()-&gt;inputCursor();
</del><ins>+    InputCursor&amp; cursor = state-&gt;lexicalGlobalObject()-&gt;inputCursor();
</ins><span class="cx">     static NeverDestroyed&lt;const AtomicString&gt; bindingName(&quot;TestNondeterministic.nondeterministicZeroArgFunction&quot;, AtomicString::ConstructFromLiteral);
</span><span class="cx">     if (cursor.isCapturing()) {
</span><span class="cx">         bool memoizedResult = impl.nondeterministicZeroArgFunction();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministich"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNondeterministic*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestNondeterministic&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNondeterministic&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestNondeterministic*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -462,19 +462,19 @@
</span><span class="cx"> COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
</span><span class="cx"> COMPILE_ASSERT(0 == TestObj::readonly, TestObjEnumreadonlyIsWrongUseDoNotCheckConstants);
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestObjConstructor::constructJSTestObj(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestObjConstructor::constructJSTestObj(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestObjConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (!exec-&gt;argument(0).isObject())
-        return throwArgumentMustBeFunctionError(*exec, 0, &quot;testCallback&quot;, &quot;TestObj&quot;, nullptr);
-    RefPtr&lt;TestCallback&gt; testCallback = JSTestCallback::create(asObject(exec-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
-    if (!exec-&gt;argument(1).isFunction())
-        return throwArgumentMustBeFunctionError(*exec, 1, &quot;testCallbackFunction&quot;, &quot;TestObj&quot;, nullptr);
-    RefPtr&lt;TestCallbackFunction&gt; testCallbackFunction = JSTestCallbackFunction::create(asObject(exec-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</del><ins>+    auto* castedThis = jsCast&lt;JSTestObjConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    if (!state-&gt;argument(0).isObject())
+        return throwArgumentMustBeFunctionError(*state, 0, &quot;testCallback&quot;, &quot;TestObj&quot;, nullptr);
+    RefPtr&lt;TestCallback&gt; testCallback = JSTestCallback::create(asObject(state-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
+    if (!state-&gt;argument(1).isFunction())
+        return throwArgumentMustBeFunctionError(*state, 1, &quot;testCallbackFunction&quot;, &quot;TestObj&quot;, nullptr);
+    RefPtr&lt;TestCallbackFunction&gt; testCallbackFunction = JSTestCallbackFunction::create(asObject(state-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</ins><span class="cx">     RefPtr&lt;TestObj&gt; object = TestObj::create(testCallback, testCallbackFunction);
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestObjConstructor::s_info = { &quot;TestObjectConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestObjConstructor) };
</span><span class="lines">@@ -725,25 +725,25 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestObj::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestObj::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestObj*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    if (getStaticValueSlot&lt;JSTestObj, Base&gt;(exec, JSTestObjTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestObj, Base&gt;(state, JSTestObjTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReadOnlyLongAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReadOnlyLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;readOnlyLongAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;readOnlyLongAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;readOnlyLongAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;readOnlyLongAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.readOnlyLongAttr());
</span><span class="lines">@@ -751,43 +751,43 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReadOnlyStringAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReadOnlyStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;readOnlyStringAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;readOnlyStringAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;readOnlyStringAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;readOnlyStringAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.readOnlyStringAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.readOnlyStringAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReadOnlyTestObjAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReadOnlyTestObjAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;readOnlyTestObjAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;readOnlyTestObjAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;readOnlyTestObjAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;readOnlyTestObjAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.readOnlyTestObjAttr()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.readOnlyTestObjAttr()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjConstructorStaticReadOnlyLongAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConstructorStaticReadOnlyLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSValue result = jsNumber(TestObj::staticReadOnlyLongAttr());
</span><span class="lines">@@ -795,29 +795,29 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjConstructorStaticStringAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConstructorStaticStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    JSValue result = jsStringWithCache(exec, TestObj::staticStringAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, TestObj::staticStringAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjConstructorTestSubObj(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConstructorTestSubObj(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(slotBase);
</span><del>-    return JSValue::encode(JSTestSubObj::getConstructor(exec-&gt;vm(), castedThis-&gt;globalObject()));
</del><ins>+    return JSValue::encode(JSTestSubObj::getConstructor(state-&gt;vm(), castedThis-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjTestSubObjEnabledBySettingConstructor(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjTestSubObjEnabledBySettingConstructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(slotBase);
</span><span class="lines">@@ -826,37 +826,37 @@
</span><span class="cx">     Settings&amp; settings = castedThis-&gt;impl().frame()-&gt;settings();
</span><span class="cx">     if (!settings.testSettingEnabled())
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    return JSValue::encode(JSTestSubObj::getConstructor(exec-&gt;vm(), castedThis-&gt;globalObject()));
</del><ins>+    return JSValue::encode(JSTestSubObj::getConstructor(state-&gt;vm(), castedThis-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjEnumAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjEnumAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;enumAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;enumAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;enumAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;enumAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.enumAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.enumAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjByteAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjByteAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;byteAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;byteAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;byteAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;byteAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.byteAttr());
</span><span class="lines">@@ -864,16 +864,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjOctetAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjOctetAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;octetAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;octetAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;octetAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;octetAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.octetAttr());
</span><span class="lines">@@ -881,16 +881,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjShortAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjShortAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;shortAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;shortAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;shortAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;shortAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.shortAttr());
</span><span class="lines">@@ -898,16 +898,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjUnsignedShortAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjUnsignedShortAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.unsignedShortAttr());
</span><span class="lines">@@ -915,16 +915,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjLongAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;longAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;longAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;longAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;longAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.longAttr());
</span><span class="lines">@@ -932,16 +932,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjLongLongAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjLongLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.longLongAttr());
</span><span class="lines">@@ -949,16 +949,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjUnsignedLongLongAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjUnsignedLongLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.unsignedLongLongAttr());
</span><span class="lines">@@ -966,67 +966,67 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjStringAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;stringAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;stringAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;stringAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;stringAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.stringAttr());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.stringAttr());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjTestObjAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjTestObjAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.testObjAttr()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.testObjAttr()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjXMLObjAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjXMLObjAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.xmlObjAttr()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.xmlObjAttr()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjCreate(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjCreate(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;create&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;create&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;create&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;create&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsBoolean(impl.isCreate());
</span><span class="lines">@@ -1034,33 +1034,33 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedStringAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
</del><ins>+    JSValue result = jsStringWithCache(state, impl.fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedIntegralAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedIntegralAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.getIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr));
</span><span class="lines">@@ -1068,16 +1068,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedUnsignedIntegralAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedUnsignedIntegralAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(std::max(0, impl.getIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr)));
</span><span class="lines">@@ -1085,16 +1085,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedBooleanAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedBooleanAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsBoolean(impl.fastHasAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr));
</span><span class="lines">@@ -1102,50 +1102,50 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedURLAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedURLAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
</del><ins>+    JSValue result = jsStringWithCache(state, impl.getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedStringAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedStringAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
</del><ins>+    JSValue result = jsStringWithCache(state, impl.fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedCustomIntegralAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedCustomIntegralAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.getIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr));
</span><span class="lines">@@ -1153,16 +1153,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedCustomBooleanAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedCustomBooleanAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsBoolean(impl.fastHasAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr));
</span><span class="lines">@@ -1170,69 +1170,69 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReflectedCustomURLAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReflectedCustomURLAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
</del><ins>+    JSValue result = jsStringWithCache(state, impl.getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjTypedArrayAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjTypedArrayAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.typedArrayAttr()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.typedArrayAttr()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjAttrWithGetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjAttrWithGetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.attrWithGetterException(ec));
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjAttrWithSetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjAttrWithSetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.attrWithSetterException());
</span><span class="lines">@@ -1240,270 +1240,270 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjStringAttrWithGetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjStringAttrWithGetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.stringAttrWithGetterException(ec));
-    setDOMException(exec, ec);
</del><ins>+    JSValue result = jsStringWithCache(state, impl.stringAttrWithGetterException(ec));
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjStringAttrWithSetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjStringAttrWithSetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.stringAttrWithSetterException());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.stringAttrWithSetterException());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjStrictTypeCheckingAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjStrictTypeCheckingAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictTypeCheckingAttribute()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictTypeCheckingAttribute()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjCustomAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjCustomAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(slotBase);
</span><del>-    return JSValue::encode(castedThis-&gt;customAttr(exec));
</del><ins>+    return JSValue::encode(castedThis-&gt;customAttr(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjOnfoo(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjOnfoo(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;onfoo&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;onfoo&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;onfoo&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;onfoo&quot;);
</ins><span class="cx">     }
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     return JSValue::encode(eventHandlerAttribute(castedThis-&gt;impl(), eventNames().fooEvent));
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptStateAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptStateAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsNumber(impl.withScriptStateAttribute(exec));
</del><ins>+    JSValue result = jsNumber(impl.withScriptStateAttribute(*state));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithCallWithAndSetterCallWithAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithCallWithAndSetterCallWithAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsNumber(impl.withCallWithAndSetterCallWithAttribute(exec));
</del><ins>+    JSValue result = jsNumber(impl.withCallWithAndSetterCallWithAttribute(*state));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptExecutionContextAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptExecutionContextAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
</ins><span class="cx">     }
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAttribute(scriptContext)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAttribute(scriptContext)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptStateAttributeRaises(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptStateAttributeRaises(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptStateAttributeRaises(exec, ec)));
-    setDOMException(exec, ec);
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptStateAttributeRaises(*state, ec)));
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptExecutionContextAttributeRaises(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptExecutionContextAttributeRaises(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAttributeRaises(scriptContext, ec)));
-    setDOMException(exec, ec);
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAttributeRaises(scriptContext, ec)));
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
</ins><span class="cx">     }
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateAttribute(exec, scriptContext)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateAttribute(*state, scriptContext)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateAttributeRaises(exec, scriptContext, ec)));
-    setDOMException(exec, ec);
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateAttributeRaises(*state, scriptContext, ec)));
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
</ins><span class="cx">     }
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateWithSpacesAttribute(exec, scriptContext)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateWithSpacesAttribute(*state, scriptContext)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptArgumentsAndCallStackAttribute()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptArgumentsAndCallStackAttribute()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1)
</span><del>-EncodedJSValue jsTestObjConditionalAttr1(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConditionalAttr1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.conditionalAttr1());
</span><span class="lines">@@ -1513,16 +1513,16 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) &amp;&amp; ENABLE(Condition2)
</span><del>-EncodedJSValue jsTestObjConditionalAttr2(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConditionalAttr2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.conditionalAttr2());
</span><span class="lines">@@ -1532,16 +1532,16 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><del>-EncodedJSValue jsTestObjConditionalAttr3(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConditionalAttr3(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.conditionalAttr3());
</span><span class="lines">@@ -1551,91 +1551,91 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1)
</span><del>-EncodedJSValue jsTestObjConditionalAttr4Constructor(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConditionalAttr4Constructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(slotBase);
</span><del>-    return JSValue::encode(JSTestObjectA::getConstructor(exec-&gt;vm(), castedThis-&gt;globalObject()));
</del><ins>+    return JSValue::encode(JSTestObjectA::getConstructor(state-&gt;vm(), castedThis-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) &amp;&amp; ENABLE(Condition2)
</span><del>-EncodedJSValue jsTestObjConditionalAttr5Constructor(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConditionalAttr5Constructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(slotBase);
</span><del>-    return JSValue::encode(JSTestObjectB::getConstructor(exec-&gt;vm(), castedThis-&gt;globalObject()));
</del><ins>+    return JSValue::encode(JSTestObjectB::getConstructor(state-&gt;vm(), castedThis-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><del>-EncodedJSValue jsTestObjConditionalAttr6Constructor(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConditionalAttr6Constructor(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(slotBase);
</span><del>-    return JSValue::encode(JSTestObjectC::getConstructor(exec-&gt;vm(), castedThis-&gt;globalObject()));
</del><ins>+    return JSValue::encode(JSTestObjectC::getConstructor(state-&gt;vm(), castedThis-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjCachedAttribute1(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjCachedAttribute1(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;cachedAttribute1&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;cachedAttribute1&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;cachedAttribute1&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;cachedAttribute1&quot;);
</ins><span class="cx">     }
</span><span class="cx">     if (JSValue cachedValue = castedThis-&gt;m_cachedAttribute1.get())
</span><span class="cx">         return JSValue::encode(cachedValue);
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = (impl.cachedAttribute1().hasNoValue() ? jsNull() : impl.cachedAttribute1().jsValue());
</span><del>-    castedThis-&gt;m_cachedAttribute1.set(exec-&gt;vm(), castedThis, result);
</del><ins>+    castedThis-&gt;m_cachedAttribute1.set(state-&gt;vm(), castedThis, result);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjCachedAttribute2(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjCachedAttribute2(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;cachedAttribute2&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;cachedAttribute2&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;cachedAttribute2&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;cachedAttribute2&quot;);
</ins><span class="cx">     }
</span><span class="cx">     if (JSValue cachedValue = castedThis-&gt;m_cachedAttribute2.get())
</span><span class="cx">         return JSValue::encode(cachedValue);
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = (impl.cachedAttribute2().hasNoValue() ? jsNull() : impl.cachedAttribute2().jsValue());
</span><del>-    castedThis-&gt;m_cachedAttribute2.set(exec-&gt;vm(), castedThis, result);
</del><ins>+    castedThis-&gt;m_cachedAttribute2.set(state-&gt;vm(), castedThis, result);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjAnyAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjAnyAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = (impl.anyAttribute().hasNoValue() ? jsNull() : impl.anyAttribute().jsValue());
</span><span class="lines">@@ -1643,61 +1643,61 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjContentDocument(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjContentDocument(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(slotBase);
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    return JSValue::encode(shouldAllowAccessToNode(exec, impl.contentDocument()) ? toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.contentDocument())) : jsNull());
</del><ins>+    return JSValue::encode(shouldAllowAccessToNode(state, impl.contentDocument()) ? toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.contentDocument())) : jsNull());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjMutablePoint(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjMutablePoint(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(SVGStaticPropertyTearOff&lt;TestObj, SVGPoint&gt;::create(impl, impl.mutablePoint(), &amp;TestObj::updateMutablePoint)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(SVGStaticPropertyTearOff&lt;TestObj, SVGPoint&gt;::create(impl, impl.mutablePoint(), &amp;TestObj::updateMutablePoint)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjImmutablePoint(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjImmutablePoint(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.immutablePoint())));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.immutablePoint())));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjStrawberry(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjStrawberry(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;strawberry&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;strawberry&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;strawberry&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;strawberry&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.blueberry());
</span><span class="lines">@@ -1705,16 +1705,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjStrictFloat(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjStrictFloat(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;strictFloat&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;strictFloat&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;strictFloat&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;strictFloat&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.strictFloat());
</span><span class="lines">@@ -1722,16 +1722,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjDescription(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjDescription(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;description&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;description&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;description&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;description&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.description());
</span><span class="lines">@@ -1739,16 +1739,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjId(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjId(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;id&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;id&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;id&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;id&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.id());
</span><span class="lines">@@ -1756,33 +1756,33 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjHash(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjHash(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;hash&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;hash&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;hash&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;hash&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.hash());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.hash());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjReplaceableAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjReplaceableAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.replaceableAttribute());
</span><span class="lines">@@ -1790,16 +1790,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjNullableDoubleAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjNullableDoubleAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;nullableDoubleAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableDoubleAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;nullableDoubleAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableDoubleAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     bool isNull = false;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="lines">@@ -1810,16 +1810,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjNullableLongAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjNullableLongAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;nullableLongAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableLongAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;nullableLongAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableLongAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     bool isNull = false;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="lines">@@ -1830,16 +1830,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjNullableBooleanAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjNullableBooleanAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;nullableBooleanAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableBooleanAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;nullableBooleanAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableBooleanAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     bool isNull = false;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="lines">@@ -1850,36 +1850,36 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjNullableStringAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjNullableStringAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;nullableStringAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableStringAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;nullableStringAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableStringAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     bool isNull = false;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.nullableStringAttribute(isNull));
</del><ins>+    JSValue result = jsStringWithCache(state, impl.nullableStringAttribute(isNull));
</ins><span class="cx">     if (isNull)
</span><span class="cx">         return JSValue::encode(jsNull());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjNullableLongSettableAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjNullableLongSettableAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     bool isNull = false;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="lines">@@ -1890,126 +1890,126 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjNullableStringValue(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjNullableStringValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     bool isNull = false;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.nullableStringValue(isNull, ec));
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     if (isNull)
</span><span class="cx">         return JSValue::encode(jsNull());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;attribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;attribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;attribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;attribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.attribute());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.attribute());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjAttributeWithReservedEnumType(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjAttributeWithReservedEnumType(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.attributeWithReservedEnumType());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.attributeWithReservedEnumType());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjPutForwardsAttribute(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjPutForwardsAttribute(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
-        return throwGetterTypeError(*exec, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
+        return throwGetterTypeError(*state, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.putForwardsAttribute()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.putForwardsAttribute()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestObjConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestObjConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestObjPrototype* domObject = jsDynamicCast&lt;JSTestObjPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestObj::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestObj::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void setJSTestObjConstructorStaticStringAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjConstructorStaticStringAttr(ExecState* state, JSObject* baseObject, EncodedJSValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     TestObj::setStaticStringAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjTestSubObjEnabledBySettingConstructor(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjTestSubObjEnabledBySettingConstructor(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     // Shadowing a built-in constructor.
</span><del>-    castedThis-&gt;putDirect(exec-&gt;vm(), Identifier::fromString(exec, &quot;TestSubObjEnabledBySetting&quot;), value);
</del><ins>+    castedThis-&gt;putDirect(state-&gt;vm(), Identifier::fromString(state, &quot;TestSubObjEnabledBySetting&quot;), value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjEnumAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjEnumAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;enumAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;enumAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;enumAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;enumAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     if (nativeValue != &quot;&quot; &amp;&amp; nativeValue != &quot;EnumValue1&quot; &amp;&amp; nativeValue != &quot;EnumValue2&quot; &amp;&amp; nativeValue != &quot;EnumValue3&quot;)
</span><span class="cx">         return;
</span><span class="lines">@@ -2017,773 +2017,773 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjByteAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjByteAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;byteAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;byteAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;byteAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;byteAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int8_t nativeValue = toInt8(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int8_t nativeValue = toInt8(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setByteAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjOctetAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjOctetAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;octetAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;octetAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;octetAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;octetAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    uint8_t nativeValue = toUInt8(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    uint8_t nativeValue = toUInt8(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setOctetAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjShortAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjShortAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;shortAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;shortAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;shortAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;shortAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int16_t nativeValue = toInt16(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int16_t nativeValue = toInt16(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setShortAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjUnsignedShortAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjUnsignedShortAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;unsignedShortAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    uint16_t nativeValue = toUInt16(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    uint16_t nativeValue = toUInt16(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setUnsignedShortAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjLongAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjLongAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;longAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;longAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;longAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;longAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setLongAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjLongLongAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjLongLongAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;longLongAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    long long nativeValue = toInt64(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    long long nativeValue = toInt64(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setLongLongAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjUnsignedLongLongAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjUnsignedLongLongAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;unsignedLongLongAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    unsigned long long nativeValue = toUInt64(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    unsigned long long nativeValue = toUInt64(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setUnsignedLongLongAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjStringAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjStringAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;stringAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;stringAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;stringAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;stringAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setStringAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjTestObjAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjTestObjAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;testObjAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setTestObjAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjXMLObjAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjXMLObjAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;XMLObjAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setXMLObjAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjCreate(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjCreate(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;create&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;create&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;create&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;create&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    bool nativeValue = value.toBoolean(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    bool nativeValue = value.toBoolean(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setCreate(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedStringAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedStringAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = valueToStringWithNullCheck(exec, value);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = valueToStringWithNullCheck(state, value);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttributeWithoutSynchronization(WebCore::HTMLNames::reflectedstringattrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedIntegralAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedIntegralAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedIntegralAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedUnsignedIntegralAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedUnsignedIntegralAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedUnsignedIntegralAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    unsigned nativeValue = toUInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    unsigned nativeValue = toUInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setUnsignedIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedBooleanAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedBooleanAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedBooleanAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    bool nativeValue = value.toBoolean(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    bool nativeValue = value.toBoolean(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setBooleanAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedURLAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedURLAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedURLAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = valueToStringWithNullCheck(exec, value);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = valueToStringWithNullCheck(state, value);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttributeWithoutSynchronization(WebCore::HTMLNames::reflectedurlattrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedStringAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedStringAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedStringAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = valueToStringWithNullCheck(exec, value);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = valueToStringWithNullCheck(state, value);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttributeWithoutSynchronization(WebCore::HTMLNames::customContentStringAttrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedCustomIntegralAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedCustomIntegralAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedCustomIntegralAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedCustomBooleanAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedCustomBooleanAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedCustomBooleanAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    bool nativeValue = value.toBoolean(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    bool nativeValue = value.toBoolean(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setBooleanAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReflectedCustomURLAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReflectedCustomURLAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;reflectedCustomURLAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = valueToStringWithNullCheck(exec, value);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = valueToStringWithNullCheck(state, value);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttributeWithoutSynchronization(WebCore::HTMLNames::customContentURLAttrAttr, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjTypedArrayAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjTypedArrayAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;typedArrayAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     RefPtr&lt;Float32Array&gt; nativeValue = toFloat32Array(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setTypedArrayAttr(nativeValue.get());
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjAttrWithGetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjAttrWithGetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;attrWithGetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttrWithGetterException(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjAttrWithSetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjAttrWithSetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;attrWithSetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttrWithSetterException(nativeValue, ec);
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjStringAttrWithGetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjStringAttrWithGetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;stringAttrWithGetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setStringAttrWithGetterException(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjStringAttrWithSetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjStringAttrWithSetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;stringAttrWithSetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setStringAttrWithSetterException(nativeValue, ec);
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjStrictTypeCheckingAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjStrictTypeCheckingAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (UNLIKELY(!value.isUndefinedOrNull() &amp;&amp; !value.inherits(JSTestObj::info()))) {
</span><del>-        throwAttributeTypeError(*exec, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;, &quot;TestObj&quot;);
</del><ins>+        throwAttributeTypeError(*state, &quot;TestObj&quot;, &quot;strictTypeCheckingAttribute&quot;, &quot;TestObj&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     };
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setStrictTypeCheckingAttribute(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjCustomAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjCustomAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    UNUSED_PARAM(exec);
-    castedThis-&gt;setCustomAttr(exec, value);
</del><ins>+    UNUSED_PARAM(state);
+    castedThis-&gt;setCustomAttr(state, value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjOnfoo(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjOnfoo(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;onfoo&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;onfoo&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;onfoo&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;onfoo&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><del>-    setEventHandlerAttribute(*exec, *castedThis, castedThis-&gt;impl(), eventNames().fooEvent, value);
</del><ins>+    setEventHandlerAttribute(*state, *castedThis, castedThis-&gt;impl(), eventNames().fooEvent, value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptStateAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptStateAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    impl.setWithScriptStateAttribute(exec, nativeValue);
</del><ins>+    impl.setWithScriptStateAttribute(*state, nativeValue);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithCallWithAndSetterCallWithAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithCallWithAndSetterCallWithAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withCallWithAndSetterCallWithAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    impl.setWithCallWithAndSetterCallWithAttribute(exec, activeDOMWindow(exec), firstDOMWindow(exec), nativeValue);
</del><ins>+    impl.setWithCallWithAndSetterCallWithAttribute(*state, activeDOMWindow(state), firstDOMWindow(state), nativeValue);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptExecutionContextAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptExecutionContextAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return;
</span><span class="cx">     impl.setWithScriptExecutionContextAttribute(scriptContext, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptStateAttributeRaises(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptStateAttributeRaises(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateAttributeRaises&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    impl.setWithScriptStateAttributeRaises(exec, nativeValue);
</del><ins>+    impl.setWithScriptStateAttributeRaises(*state, nativeValue);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptExecutionContextAttributeRaises(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptExecutionContextAttributeRaises(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAttributeRaises&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return;
</span><span class="cx">     impl.setWithScriptExecutionContextAttributeRaises(scriptContext, nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptExecutionContextAndScriptStateAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return;
</span><del>-    impl.setWithScriptExecutionContextAndScriptStateAttribute(exec, scriptContext, nativeValue);
</del><ins>+    impl.setWithScriptExecutionContextAndScriptStateAttribute(*state, scriptContext, nativeValue);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateAttributeRaises&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return;
</span><del>-    impl.setWithScriptExecutionContextAndScriptStateAttributeRaises(exec, scriptContext, nativeValue);
</del><ins>+    impl.setWithScriptExecutionContextAndScriptStateAttributeRaises(*state, scriptContext, nativeValue);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpacesAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return;
</span><del>-    impl.setWithScriptExecutionContextAndScriptStateWithSpacesAttribute(exec, scriptContext, nativeValue);
</del><ins>+    impl.setWithScriptExecutionContextAndScriptStateWithSpacesAttribute(*state, scriptContext, nativeValue);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjWithScriptArgumentsAndCallStackAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStackAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     TestObj* nativeValue = JSTestObj::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setWithScriptArgumentsAndCallStackAttribute(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1)
</span><del>-void setJSTestObjConditionalAttr1(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjConditionalAttr1(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;conditionalAttr1&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setConditionalAttr1(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -2791,21 +2791,21 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) &amp;&amp; ENABLE(Condition2)
</span><del>-void setJSTestObjConditionalAttr2(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjConditionalAttr2(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;conditionalAttr2&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setConditionalAttr2(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -2813,21 +2813,21 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><del>-void setJSTestObjConditionalAttr3(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjConditionalAttr3(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;conditionalAttr3&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setConditionalAttr3(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -2835,242 +2835,242 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1)
</span><del>-void setJSTestObjConditionalAttr4Constructor(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjConditionalAttr4Constructor(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     // Shadowing a built-in constructor.
</span><del>-    castedThis-&gt;putDirect(exec-&gt;vm(), Identifier::fromString(exec, &quot;conditionalAttr4&quot;), value);
</del><ins>+    castedThis-&gt;putDirect(state-&gt;vm(), Identifier::fromString(state, &quot;conditionalAttr4&quot;), value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) &amp;&amp; ENABLE(Condition2)
</span><del>-void setJSTestObjConditionalAttr5Constructor(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjConditionalAttr5Constructor(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     // Shadowing a built-in constructor.
</span><del>-    castedThis-&gt;putDirect(exec-&gt;vm(), Identifier::fromString(exec, &quot;conditionalAttr5&quot;), value);
</del><ins>+    castedThis-&gt;putDirect(state-&gt;vm(), Identifier::fromString(state, &quot;conditionalAttr5&quot;), value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><del>-void setJSTestObjConditionalAttr6Constructor(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjConditionalAttr6Constructor(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestObj*&gt;(baseObject);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     // Shadowing a built-in constructor.
</span><del>-    castedThis-&gt;putDirect(exec-&gt;vm(), Identifier::fromString(exec, &quot;conditionalAttr6&quot;), value);
</del><ins>+    castedThis-&gt;putDirect(state-&gt;vm(), Identifier::fromString(state, &quot;conditionalAttr6&quot;), value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-void setJSTestObjAnyAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjAnyAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;anyAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    Deprecated::ScriptValue nativeValue = { exec-&gt;vm(), value };
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Deprecated::ScriptValue nativeValue = { state-&gt;vm(), value };
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAnyAttribute(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjMutablePoint(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjMutablePoint(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;mutablePoint&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     SVGPropertyTearOff&lt;SVGPoint&gt;* nativeValue = JSSVGPoint::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setMutablePoint(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjImmutablePoint(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjImmutablePoint(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;immutablePoint&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     SVGPropertyTearOff&lt;SVGPoint&gt;* nativeValue = JSSVGPoint::toWrapped(value);
</span><del>-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setImmutablePoint(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjStrawberry(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjStrawberry(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;strawberry&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;strawberry&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;strawberry&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;strawberry&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setBlueberry(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjStrictFloat(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjStrictFloat(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;strictFloat&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;strictFloat&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;strictFloat&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;strictFloat&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    float nativeValue = value.toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    float nativeValue = value.toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setStrictFloat(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjId(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjId(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;id&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;id&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;id&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;id&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setId(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjReplaceableAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjReplaceableAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;replaceableAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     // Shadowing a built-in object.
</span><del>-    castedThis-&gt;putDirect(exec-&gt;vm(), Identifier::fromString(exec, &quot;replaceableAttribute&quot;), value);
</del><ins>+    castedThis-&gt;putDirect(state-&gt;vm(), Identifier::fromString(state, &quot;replaceableAttribute&quot;), value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjNullableLongSettableAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjNullableLongSettableAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableLongSettableAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setNullableLongSettableAttribute(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjNullableStringValue(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjNullableStringValue(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;nullableStringValue&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setNullableStringValue(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjAttributeWithReservedEnumType(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjAttributeWithReservedEnumType(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;attributeWithReservedEnumType&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     if (nativeValue != &quot;&quot; &amp;&amp; nativeValue != &quot;OptionalValue1&quot; &amp;&amp; nativeValue != &quot;OptionalValue2&quot; &amp;&amp; nativeValue != &quot;OptionalValue3&quot;)
</span><span class="cx">         return;
</span><span class="lines">@@ -3078,24 +3078,24 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestObjPutForwardsAttribute(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestObjPutForwardsAttribute(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestObjPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestObj&quot;, &quot;putForwardsAttribute&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto* forwardedImpl = castedThis-&gt;impl().putForwardsAttribute();
</span><span class="cx">     if (!forwardedImpl)
</span><span class="cx">         return;
</span><span class="cx">     auto&amp; impl = *forwardedImpl;
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setName(nativeValue);
</span><span class="cx"> }
</span><span class="lines">@@ -3106,861 +3106,861 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestObjConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;voidMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;voidMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     impl.voidMethod();
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethodWithArgs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVoidMethodWithArgs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;voidMethodWithArgs&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;voidMethodWithArgs&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 3))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 3))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int longArg = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(2));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(2));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.voidMethodWithArgs(longArg, strArg, objArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionByteMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionByteMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;byteMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;byteMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.byteMethod());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionByteMethodWithArgs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionByteMethodWithArgs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;byteMethodWithArgs&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;byteMethodWithArgs&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 3))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int8_t byteArg = toInt8(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 3))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int8_t byteArg = toInt8(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(2));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(2));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.byteMethodWithArgs(byteArg, strArg, objArg));
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOctetMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOctetMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;octetMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;octetMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.octetMethod());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOctetMethodWithArgs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOctetMethodWithArgs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;octetMethodWithArgs&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;octetMethodWithArgs&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 3))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    uint8_t octetArg = toUInt8(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 3))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    uint8_t octetArg = toUInt8(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(2));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(2));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.octetMethodWithArgs(octetArg, strArg, objArg));
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;longMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;longMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.longMethod());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethodWithArgs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionLongMethodWithArgs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;longMethodWithArgs&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;longMethodWithArgs&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 3))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 3))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int longArg = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(2));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(2));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.longMethodWithArgs(longArg, strArg, objArg));
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;objMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;objMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.objMethod()));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.objMethod()));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethodWithArgs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionObjMethodWithArgs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;objMethodWithArgs&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;objMethodWithArgs&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 3))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 3))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int longArg = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(2));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(2));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.objMethodWithArgs(longArg, strArg, objArg)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.objMethodWithArgs(longArg, strArg, objArg)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithSequenceArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithSequenceArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithSequenceArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithSequenceArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;RefPtr&lt;ScriptProfile&gt;&gt; sequenceArg = (toRefPtrNativeArray&lt;ScriptProfile, JSScriptProfile&gt;(exec, exec-&gt;argument(0), &amp;JSScriptProfile::toWrapped));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;RefPtr&lt;ScriptProfile&gt;&gt; sequenceArg = (toRefPtrNativeArray&lt;ScriptProfile, JSScriptProfile&gt;(state, state-&gt;argument(0), &amp;JSScriptProfile::toWrapped));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithSequenceArg(sequenceArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodReturningSequence(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodReturningSequence(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodReturningSequence&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodReturningSequence&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int longArg = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = jsArray(exec, castedThis-&gt;globalObject(), impl.methodReturningSequence(longArg));
</del><ins>+    JSValue result = jsArray(state, castedThis-&gt;globalObject(), impl.methodReturningSequence(longArg));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithEnumArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithEnumArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithEnumArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithEnumArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     // Keep pointer to the JSString in a local so we don't need to ref the String.
</span><del>-    auto* enumArgString = exec-&gt;argument(0).toString(exec);
-    auto&amp; enumArg = enumArgString-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    auto* enumArgString = state-&gt;argument(0).toString(state);
+    auto&amp; enumArg = enumArgString-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     if (enumArg != &quot;&quot; &amp;&amp; enumArg != &quot;EnumValue1&quot; &amp;&amp; enumArg != &quot;EnumValue2&quot; &amp;&amp; enumArg != &quot;EnumValue3&quot;)
</span><del>-        return throwArgumentMustBeEnumError(*exec, 0, &quot;enumArg&quot;, &quot;TestObj&quot;, &quot;methodWithEnumArg&quot;, &quot;\&quot;\&quot;, \&quot;EnumValue1\&quot;, \&quot;EnumValue2\&quot;, \&quot;EnumValue3\&quot;&quot;);
</del><ins>+        return throwArgumentMustBeEnumError(*state, 0, &quot;enumArg&quot;, &quot;TestObj&quot;, &quot;methodWithEnumArg&quot;, &quot;\&quot;\&quot;, \&quot;EnumValue1\&quot;, \&quot;EnumValue2\&quot;, \&quot;EnumValue3\&quot;&quot;);
</ins><span class="cx">     impl.methodWithEnumArg(enumArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalEnumArgAndDefaultValue(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalEnumArgAndDefaultValue(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithOptionalEnumArgAndDefaultValue&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithOptionalEnumArgAndDefaultValue&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><span class="cx">         impl.methodWithOptionalEnumArgAndDefaultValue();
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     String enumArg;
</span><del>-    if (exec-&gt;argument(0).isUndefined())
</del><ins>+    if (state-&gt;argument(0).isUndefined())
</ins><span class="cx">         enumArg = ASCIILiteral(&quot;EnumValue1&quot;);
</span><span class="cx">     else {
</span><del>-        enumArg = exec-&gt;uncheckedArgument(0).toString(exec)-&gt;value(exec);
-        if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+        enumArg = state-&gt;uncheckedArgument(0).toString(state)-&gt;value(state);
+        if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">             return JSValue::encode(jsUndefined());
</span><span class="cx">         if (enumArg != &quot;&quot; &amp;&amp; enumArg != &quot;EnumValue1&quot; &amp;&amp; enumArg != &quot;EnumValue2&quot; &amp;&amp; enumArg != &quot;EnumValue3&quot;)
</span><del>-            return throwArgumentMustBeEnumError(*exec, 0, &quot;enumArg&quot;, &quot;TestObj&quot;, &quot;methodWithOptionalEnumArgAndDefaultValue&quot;, &quot;\&quot;\&quot;, \&quot;EnumValue1\&quot;, \&quot;EnumValue2\&quot;, \&quot;EnumValue3\&quot;&quot;);
</del><ins>+            return throwArgumentMustBeEnumError(*state, 0, &quot;enumArg&quot;, &quot;TestObj&quot;, &quot;methodWithOptionalEnumArgAndDefaultValue&quot;, &quot;\&quot;\&quot;, \&quot;EnumValue1\&quot;, \&quot;EnumValue2\&quot;, \&quot;EnumValue3\&quot;&quot;);
</ins><span class="cx">     }
</span><span class="cx">     impl.methodWithOptionalEnumArgAndDefaultValue(enumArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodThatRequiresAllArgsAndThrows&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodThatRequiresAllArgsAndThrows&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    String strArg = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.methodThatRequiresAllArgsAndThrows(strArg, objArg, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.methodThatRequiresAllArgsAndThrows(strArg, objArg, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionSerializedValue(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionSerializedValue(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;serializedValue&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;serializedValue&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr&lt;SerializedScriptValue&gt; serializedArg = SerializedScriptValue::create(exec, exec-&gt;argument(0), 0, 0);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    RefPtr&lt;SerializedScriptValue&gt; serializedArg = SerializedScriptValue::create(state, state-&gt;argument(0), 0, 0);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.serializedValue(serializedArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOptionsObject(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOptionsObject(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;optionsObject&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;optionsObject&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Dictionary oo = { exec, exec-&gt;argument(0) };
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Dictionary oo = { state, state-&gt;argument(0) };
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    Dictionary ooo = { exec, exec-&gt;argument(1) };
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Dictionary ooo = { state, state-&gt;argument(1) };
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.optionsObject(oo, ooo);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithException(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithException(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithException&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithException&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     impl.methodWithException(ec);
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;customMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;customMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>-    return JSValue::encode(castedThis-&gt;customMethod(exec));
</del><ins>+    return JSValue::encode(castedThis-&gt;customMethod(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethodWithArgs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionCustomMethodWithArgs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;customMethodWithArgs&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;customMethodWithArgs&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>-    return JSValue::encode(castedThis-&gt;customMethodWithArgs(exec));
</del><ins>+    return JSValue::encode(castedThis-&gt;customMethodWithArgs(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionAddEventListener(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionAddEventListener(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;addEventListener&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;addEventListener&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue listener = exec-&gt;argument(1);
</del><ins>+    JSValue listener = state-&gt;argument(1);
</ins><span class="cx">     if (UNLIKELY(!listener.isObject()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    impl.addEventListener(exec-&gt;argument(0).toString(exec)-&gt;toAtomicString(exec), createJSEventListenerForAdd(*exec, *asObject(listener), *castedThis), exec-&gt;argument(2).toBoolean(exec));
</del><ins>+    impl.addEventListener(state-&gt;argument(0).toString(state)-&gt;toAtomicString(state), createJSEventListenerForAdd(*state, *asObject(listener), *castedThis), state-&gt;argument(2).toBoolean(state));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionRemoveEventListener(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionRemoveEventListener(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;removeEventListener&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;removeEventListener&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue listener = exec-&gt;argument(1);
</del><ins>+    JSValue listener = state-&gt;argument(1);
</ins><span class="cx">     if (UNLIKELY(!listener.isObject()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    impl.removeEventListener(exec-&gt;argument(0).toString(exec)-&gt;toAtomicString(exec), createJSEventListenerForRemove(*exec, *asObject(listener), *castedThis).ptr(), exec-&gt;argument(2).toBoolean(exec));
</del><ins>+    impl.removeEventListener(state-&gt;argument(0).toString(state)-&gt;toAtomicString(state), createJSEventListenerForRemove(*state, *asObject(listener), *castedThis).ptr(), state-&gt;argument(2).toBoolean(state));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoid(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoid(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateVoid&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateVoid&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    impl.withScriptStateVoid(exec);
</del><ins>+    impl.withScriptStateVoid(*state);
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObj(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObj(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateObj&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateObj&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptStateObj(exec)));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptStateObj(*state)));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoidException(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateVoidException(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateVoidException&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateVoidException&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    impl.withScriptStateVoidException(exec, ec);
-    setDOMException(exec, ec);
</del><ins>+    impl.withScriptStateVoidException(*state, ec);
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObjException(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptStateObjException(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptStateObjException&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptStateObjException&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptStateObjException(exec, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptStateObjException(*state, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    setDOMException(state, ec);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContext(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContext(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContext&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContext&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.withScriptExecutionContext(scriptContext);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptState(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptState(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptState&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptState&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    impl.withScriptExecutionContextAndScriptState(exec, scriptContext);
</del><ins>+    impl.withScriptExecutionContextAndScriptState(*state, scriptContext);
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateObjException(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateObjException&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateObjException&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateObjException(exec, scriptContext, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateObjException(*state, scriptContext, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    setDOMException(state, ec);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptExecutionContextAndScriptStateWithSpaces(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpaces&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptExecutionContextAndScriptStateWithSpaces&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</del><ins>+    auto* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</ins><span class="cx">     if (!scriptContext)
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateWithSpaces(exec, scriptContext)));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateWithSpaces(*state, scriptContext)));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStack&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;withScriptArgumentsAndCallStack&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    RefPtr&lt;Inspector::ScriptArguments&gt; scriptArguments(Inspector::createScriptArguments(exec, 0));
</del><ins>+    RefPtr&lt;Inspector::ScriptArguments&gt; scriptArguments(Inspector::createScriptArguments(state, 0));
</ins><span class="cx">     impl.withScriptArgumentsAndCallStack(scriptArguments.release());
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithOptionalArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithOptionalArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><span class="cx">         impl.methodWithOptionalArg();
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int opt = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int opt = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithOptionalArg(opt);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalArgAndDefaultValue(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalArgAndDefaultValue(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithOptionalArgAndDefaultValue&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithOptionalArgAndDefaultValue&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><span class="cx">         impl.methodWithOptionalArgAndDefaultValue();
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int opt = exec-&gt;argument(0).isUndefined() ? 666 : toInt32(exec, exec-&gt;uncheckedArgument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int opt = state-&gt;argument(0).isUndefined() ? 666 : toInt32(state, state-&gt;uncheckedArgument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithOptionalArgAndDefaultValue(opt);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithNonOptionalArgAndOptionalArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithNonOptionalArgAndOptionalArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int nonOpt = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int nonOpt = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 1) {
</span><span class="cx">         impl.methodWithNonOptionalArgAndOptionalArg(nonOpt);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int opt = toInt32(exec, exec-&gt;argument(1), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int opt = toInt32(state, state-&gt;argument(1), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithNonOptionalArgAndOptionalArg(nonOpt, opt);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithNonOptionalArgAndTwoOptionalArgs&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithNonOptionalArgAndTwoOptionalArgs&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int nonOpt = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int nonOpt = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 1) {
</span><span class="cx">         impl.methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int opt1 = toInt32(exec, exec-&gt;argument(1), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int opt1 = toInt32(state, state-&gt;argument(1), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     if (argsCount &lt;= 2) {
</span><span class="cx">         impl.methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int opt2 = toInt32(exec, exec-&gt;argument(2), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int opt2 = toInt32(state, state-&gt;argument(2), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithNonOptionalArgAndTwoOptionalArgs(nonOpt, opt1, opt2);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalString(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalString(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithOptionalString&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithOptionalString&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><span class="cx">         impl.methodWithOptionalString();
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    String str = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithOptionalString(str);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringAndDefaultValue(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringAndDefaultValue(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithOptionalStringAndDefaultValue&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithOptionalStringAndDefaultValue&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><span class="cx">         impl.methodWithOptionalStringAndDefaultValue();
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    String str = exec-&gt;argument(0).isUndefined() ? &quot;foo&quot; : exec-&gt;uncheckedArgument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str = state-&gt;argument(0).isUndefined() ? &quot;foo&quot; : state-&gt;uncheckedArgument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithOptionalStringAndDefaultValue(str);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefined(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefined(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithOptionalStringIsUndefined&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithOptionalStringIsUndefined&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String str = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithOptionalStringIsUndefined(str);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithOptionalStringIsNullString&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithOptionalStringIsNullString&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String str = exec-&gt;argument(0).isUndefined() ? String() : exec-&gt;uncheckedArgument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str = state-&gt;argument(0).isUndefined() ? String() : state-&gt;uncheckedArgument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithOptionalStringIsNullString(str);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithCallbackArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithCallbackArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (!exec-&gt;argument(0).isObject())
-        return throwArgumentMustBeFunctionError(*exec, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackArg&quot;);
-    RefPtr&lt;TestCallback&gt; callback = JSTestCallback::create(asObject(exec-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    if (!state-&gt;argument(0).isObject())
+        return throwArgumentMustBeFunctionError(*state, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackArg&quot;);
+    RefPtr&lt;TestCallback&gt; callback = JSTestCallback::create(asObject(state-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</ins><span class="cx">     impl.methodWithCallbackArg(callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int nonCallback = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int nonCallback = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    if (!exec-&gt;argument(1).isObject())
-        return throwArgumentMustBeFunctionError(*exec, 1, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackArg&quot;);
-    RefPtr&lt;TestCallback&gt; callback = JSTestCallback::create(asObject(exec-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</del><ins>+    if (!state-&gt;argument(1).isObject())
+        return throwArgumentMustBeFunctionError(*state, 1, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackArg&quot;);
+    RefPtr&lt;TestCallback&gt; callback = JSTestCallback::create(asObject(state-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</ins><span class="cx">     impl.methodWithNonCallbackArgAndCallbackArg(nonCallback, callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithCallbackAndOptionalArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithCallbackAndOptionalArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     RefPtr&lt;TestCallback&gt; callback;
</span><del>-    if (!exec-&gt;argument(0).isUndefinedOrNull()) {
-        if (!exec-&gt;uncheckedArgument(0).isObject())
-            return throwArgumentMustBeFunctionError(*exec, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackAndOptionalArg&quot;);
-        callback = JSTestCallback::create(asObject(exec-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</del><ins>+    if (!state-&gt;argument(0).isUndefinedOrNull()) {
+        if (!state-&gt;uncheckedArgument(0).isObject())
+            return throwArgumentMustBeFunctionError(*state, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackAndOptionalArg&quot;);
+        callback = JSTestCallback::create(asObject(state-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</ins><span class="cx">     }
</span><span class="cx">     impl.methodWithCallbackAndOptionalArg(callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackFunctionArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackFunctionArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (!exec-&gt;argument(0).isFunction())
-        return throwArgumentMustBeFunctionError(*exec, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionArg&quot;);
-    RefPtr&lt;TestCallbackFunction&gt; callback = JSTestCallbackFunction::create(asObject(exec-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    if (!state-&gt;argument(0).isFunction())
+        return throwArgumentMustBeFunctionError(*state, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionArg&quot;);
+    RefPtr&lt;TestCallbackFunction&gt; callback = JSTestCallbackFunction::create(asObject(state-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</ins><span class="cx">     impl.methodWithCallbackFunctionArg(callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackFunctionArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackFunctionArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackFunctionArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackFunctionArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int nonCallback = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int nonCallback = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    if (!exec-&gt;argument(1).isFunction())
-        return throwArgumentMustBeFunctionError(*exec, 1, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackFunctionArg&quot;);
-    RefPtr&lt;TestCallbackFunction&gt; callback = JSTestCallbackFunction::create(asObject(exec-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</del><ins>+    if (!state-&gt;argument(1).isFunction())
+        return throwArgumentMustBeFunctionError(*state, 1, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithNonCallbackArgAndCallbackFunctionArg&quot;);
+    RefPtr&lt;TestCallbackFunction&gt; callback = JSTestCallbackFunction::create(asObject(state-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</ins><span class="cx">     impl.methodWithNonCallbackArgAndCallbackFunctionArg(nonCallback, callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackFunctionAndOptionalArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithCallbackFunctionAndOptionalArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionAndOptionalArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionAndOptionalArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     RefPtr&lt;TestCallbackFunction&gt; callback;
</span><del>-    if (!exec-&gt;argument(0).isUndefinedOrNull()) {
-        if (!exec-&gt;uncheckedArgument(0).isFunction())
-            return throwArgumentMustBeFunctionError(*exec, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionAndOptionalArg&quot;);
-        callback = JSTestCallbackFunction::create(asObject(exec-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</del><ins>+    if (!state-&gt;argument(0).isUndefinedOrNull()) {
+        if (!state-&gt;uncheckedArgument(0).isFunction())
+            return throwArgumentMustBeFunctionError(*state, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;methodWithCallbackFunctionAndOptionalArg&quot;);
+        callback = JSTestCallbackFunction::create(asObject(state-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</ins><span class="cx">     }
</span><span class="cx">     impl.methodWithCallbackFunctionAndOptionalArg(callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackAndOptionalArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackAndOptionalArg(ExecState* state)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;TestCallback&gt; callback;
</span><del>-    if (!exec-&gt;argument(0).isUndefinedOrNull()) {
-        if (!exec-&gt;uncheckedArgument(0).isObject())
-            return throwArgumentMustBeFunctionError(*exec, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;staticMethodWithCallbackAndOptionalArg&quot;);
-        callback = createFunctionOnlyCallback&lt;JSTestCallback&gt;(exec, jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject()), exec-&gt;uncheckedArgument(0));
</del><ins>+    if (!state-&gt;argument(0).isUndefinedOrNull()) {
+        if (!state-&gt;uncheckedArgument(0).isObject())
+            return throwArgumentMustBeFunctionError(*state, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;staticMethodWithCallbackAndOptionalArg&quot;);
+        callback = createFunctionOnlyCallback&lt;JSTestCallback&gt;(state, jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject()), state-&gt;uncheckedArgument(0));
</ins><span class="cx">     }
</span><span class="cx">     TestObj::staticMethodWithCallbackAndOptionalArg(callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionStaticMethodWithCallbackArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (!exec-&gt;argument(0).isObject())
-        return throwArgumentMustBeFunctionError(*exec, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;staticMethodWithCallbackArg&quot;);
-    RefPtr&lt;TestCallback&gt; callback = createFunctionOnlyCallback&lt;JSTestCallback&gt;(exec, jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject()), exec-&gt;uncheckedArgument(0));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    if (!state-&gt;argument(0).isObject())
+        return throwArgumentMustBeFunctionError(*state, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;staticMethodWithCallbackArg&quot;);
+    RefPtr&lt;TestCallback&gt; callback = createFunctionOnlyCallback&lt;JSTestCallback&gt;(state, jsCast&lt;JSDOMGlobalObject*&gt;(state-&gt;lexicalGlobalObject()), state-&gt;uncheckedArgument(0));
</ins><span class="cx">     TestObj::staticMethodWithCallbackArg(callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod1(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalMethod1&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;conditionalMethod1&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.conditionalMethod1());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.conditionalMethod1());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) &amp;&amp; ENABLE(Condition2)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalMethod2&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;conditionalMethod2&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     impl.conditionalMethod2();
</span><span class="lines">@@ -3970,12 +3970,12 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod3(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConditionalMethod3(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;conditionalMethod3&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;conditionalMethod3&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     impl.conditionalMethod3();
</span><span class="lines">@@ -3984,362 +3984,362 @@
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod1(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    String strArg = exec-&gt;argument(1).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String strArg = state-&gt;argument(1).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(objArg, strArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod2(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 1) {
</span><span class="cx">         impl.overloadedMethod(objArg);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int longArg = toInt32(exec, exec-&gt;argument(1), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int longArg = toInt32(state, state-&gt;argument(1), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(objArg, longArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod3(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod3(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String strArg = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String strArg = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(strArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod4(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod4(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int longArg = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int longArg = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(longArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod5(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod5(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    if (!exec-&gt;argument(0).isObject())
-        return throwArgumentMustBeFunctionError(*exec, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
-    RefPtr&lt;TestCallback&gt; callback = JSTestCallback::create(asObject(exec-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    if (!state-&gt;argument(0).isObject())
+        return throwArgumentMustBeFunctionError(*state, 0, &quot;callback&quot;, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
+    RefPtr&lt;TestCallback&gt; callback = JSTestCallback::create(asObject(state-&gt;uncheckedArgument(0)), castedThis-&gt;globalObject());
</ins><span class="cx">     impl.overloadedMethod(callback);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod6(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod6(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr&lt;DOMStringList&gt; listArg = toDOMStringList(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    RefPtr&lt;DOMStringList&gt; listArg = toDOMStringList(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(listArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod7(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod7(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;String&gt; arrayArg = toNativeArray&lt;String&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;String&gt; arrayArg = toNativeArray&lt;String&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(arrayArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod8(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod8(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(objArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod9(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod9(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;String&gt; arrayArg = toNativeArray&lt;String&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;String&gt; arrayArg = toNativeArray&lt;String&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(arrayArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod10(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod10(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;unsigned&gt; arrayArg = toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;unsigned&gt; arrayArg = toNativeArray&lt;unsigned&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(arrayArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod11(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod11(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String strArg = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String strArg = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(strArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod12(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod12(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     Vector&lt;Blob*&gt; blobArgs;
</span><del>-    for (unsigned i = 0, count = exec-&gt;argumentCount(); i &lt; count; ++i) {
-        if (!exec-&gt;uncheckedArgument(i).inherits(JSBlob::info()))
-            return throwArgumentTypeError(*exec, i, &quot;blobArgs&quot;, &quot;TestObj&quot;, &quot;overloadedMethod&quot;, &quot;Blob&quot;);
-        blobArgs.append(JSBlob::toWrapped(exec-&gt;uncheckedArgument(i)));
</del><ins>+    for (unsigned i = 0, count = state-&gt;argumentCount(); i &lt; count; ++i) {
+        if (!state-&gt;uncheckedArgument(i).inherits(JSBlob::info()))
+            return throwArgumentTypeError(*state, i, &quot;blobArgs&quot;, &quot;TestObj&quot;, &quot;overloadedMethod&quot;, &quot;Blob&quot;);
+        blobArgs.append(JSBlob::toWrapped(state-&gt;uncheckedArgument(i)));
</ins><span class="cx">     }
</span><span class="cx">     impl.overloadedMethod(blobArgs);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    size_t argsCount = std::min&lt;size_t&gt;(2, exec-&gt;argumentCount());
-    JSValue arg0(exec-&gt;argument(0));
-    JSValue arg1(exec-&gt;argument(1));
</del><ins>+    size_t argsCount = std::min&lt;size_t&gt;(2, state-&gt;argumentCount());
+    JSValue arg0(state-&gt;argument(0));
+    JSValue arg1(state-&gt;argument(1));
</ins><span class="cx">     if ((argsCount == 2 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info()))) &amp;&amp; (arg1.isUndefinedOrNull() || arg1.isString() || arg1.isObject())))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod1(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod1(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info())))) || (argsCount == 2 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info())))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod2(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod2(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isUndefinedOrNull() || arg0.isString() || arg0.isObject())))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod3(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod3(state);
</ins><span class="cx">     if (argsCount == 1)
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod4(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod4(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isNull() || arg0.isObject())))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod5(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod5(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSDOMStringList::info())))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod6(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod6(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; isJSArray(arg0)))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod7(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod7(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; ((arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info())))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod8(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod8(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; ((arg0.isObject() &amp;&amp; isJSArray(arg0)))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod9(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod9(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; ((arg0.isObject() &amp;&amp; isJSArray(arg0)))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod10(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod10(state);
</ins><span class="cx">     if (argsCount == 1)
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod11(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod11(state);
</ins><span class="cx">     if ()
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethod12(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethod12(state);
</ins><span class="cx">     if (argsCount &lt; 1)
</span><del>-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return throwVMTypeError(exec);
</del><ins>+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    return throwVMTypeError(state);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter1(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethodWithOptionalParameter&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethodWithOptionalParameter&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg1 = JSTestObj::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestObj* objArg1 = JSTestObj::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 1) {
</span><span class="cx">         impl.overloadedMethodWithOptionalParameter(objArg1);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    TestObj* objArg2 = JSTestObj::toWrapped(exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    TestObj* objArg2 = JSTestObj::toWrapped(state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethodWithOptionalParameter(objArg1, objArg2);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter2(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;overloadedMethodWithOptionalParameter&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;overloadedMethodWithOptionalParameter&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 1) {
</span><span class="cx">         impl.overloadedMethodWithOptionalParameter(objArg);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int longArg = toInt32(exec, exec-&gt;argument(1), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int longArg = toInt32(state, state-&gt;argument(1), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethodWithOptionalParameter(objArg, longArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter(ExecState* state)
</ins><span class="cx"> {
</span><del>-    size_t argsCount = std::min&lt;size_t&gt;(2, exec-&gt;argumentCount());
-    JSValue arg0(exec-&gt;argument(0));
-    JSValue arg1(exec-&gt;argument(1));
</del><ins>+    size_t argsCount = std::min&lt;size_t&gt;(2, state-&gt;argumentCount());
+    JSValue arg0(state-&gt;argument(0));
+    JSValue arg1(state-&gt;argument(1));
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info())))) || (argsCount == 2 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info()))) &amp;&amp; (arg1.isUndefined() || arg1.isNull() || (arg1.isObject() &amp;&amp; asObject(arg1)-&gt;inherits(JSTestObj::info())))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter1(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter1(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info())))) || (argsCount == 2 &amp;&amp; (arg0.isNull() || (arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSTestObj::info())))))
</span><del>-        return jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter2(exec);
</del><ins>+        return jsTestObjPrototypeFunctionOverloadedMethodWithOptionalParameter2(state);
</ins><span class="cx">     if (argsCount &lt; 1)
</span><del>-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return throwVMTypeError(exec);
</del><ins>+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    return throwVMTypeError(state);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod(ExecState* state)
</ins><span class="cx"> {
</span><span class="cx">     TestObj::classMethod();
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethodWithOptional(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethodWithOptional(ExecState* state)
</ins><span class="cx"> {
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><span class="cx">         JSValue result = jsNumber(TestObj::classMethodWithOptional());
</span><span class="cx">         return JSValue::encode(result);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int arg = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int arg = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(TestObj::classMethodWithOptional(arg));
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionClassMethod2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return JSValue::encode(JSTestObj::classMethod2(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    return JSValue::encode(JSTestObj::classMethod2(state));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1)
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod11(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod11(ExecState* state)
</ins><span class="cx"> {
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    int arg = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    int arg = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     TestObj::overloadedMethod1(arg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -4348,12 +4348,12 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(Condition1)
</span><del>-static EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod12(ExecState* exec)
</del><ins>+static EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod12(ExecState* state)
</ins><span class="cx"> {
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String type = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String type = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     TestObj::overloadedMethod1(type);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -4361,46 +4361,46 @@
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod1(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionOverloadedMethod1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    size_t argsCount = std::min&lt;size_t&gt;(1, exec-&gt;argumentCount());
</del><ins>+    size_t argsCount = std::min&lt;size_t&gt;(1, state-&gt;argumentCount());
</ins><span class="cx"> #if ENABLE(Condition1)
</span><span class="cx">     if (argsCount == 1)
</span><del>-        return jsTestObjConstructorFunctionOverloadedMethod11(exec);
</del><ins>+        return jsTestObjConstructorFunctionOverloadedMethod11(state);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    JSValue arg0(exec-&gt;argument(0));
</del><ins>+    JSValue arg0(state-&gt;argument(0));
</ins><span class="cx"> #if ENABLE(Condition1)
</span><span class="cx">     if ((argsCount == 1 &amp;&amp; (arg0.isUndefinedOrNull() || arg0.isString() || arg0.isObject())))
</span><del>-        return jsTestObjConstructorFunctionOverloadedMethod12(exec);
</del><ins>+        return jsTestObjConstructorFunctionOverloadedMethod12(state);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     if (argsCount &lt; 1)
</span><del>-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return throwVMTypeError(exec);
</del><ins>+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    return throwVMTypeError(state);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionClassMethodWithClamp(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionClassMethodWithClamp(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;classMethodWithClamp&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;classMethodWithClamp&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     unsigned short objArgsShort = 0;
</span><del>-    double objArgsShortNativeValue = exec-&gt;argument(0).toNumber(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    double objArgsShortNativeValue = state-&gt;argument(0).toNumber(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><span class="cx">     if (!std::isnan(objArgsShortNativeValue))
</span><span class="cx">         objArgsShort = clampTo&lt;unsigned short&gt;(objArgsShortNativeValue);
</span><span class="cx"> 
</span><span class="cx">     unsigned long objArgsLong = 0;
</span><del>-    double objArgsLongNativeValue = exec-&gt;argument(1).toNumber(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    double objArgsLongNativeValue = state-&gt;argument(1).toNumber(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><span class="cx">     if (!std::isnan(objArgsLongNativeValue))
</span><span class="lines">@@ -4410,473 +4410,473 @@
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithUnsignedLongSequence&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithUnsignedLongSequence&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;unsigned&gt; unsignedLongSequence = toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;unsigned&gt; unsignedLongSequence = toNativeArray&lt;unsigned&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithUnsignedLongSequence(unsignedLongSequence);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStringArrayFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStringArrayFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;stringArrayFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;stringArrayFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    Vector&lt;String&gt; values = toNativeArray&lt;String&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;String&gt; values = toNativeArray&lt;String&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = jsArray(exec, castedThis-&gt;globalObject(), impl.stringArrayFunction(values, ec));
</del><ins>+    JSValue result = jsArray(state, castedThis-&gt;globalObject(), impl.stringArrayFunction(values, ec));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionDomStringListFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionDomStringListFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;domStringListFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;domStringListFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    RefPtr&lt;DOMStringList&gt; values = toDOMStringList(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    RefPtr&lt;DOMStringList&gt; values = toDOMStringList(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.domStringListFunction(values, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.domStringListFunction(values, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithAndWithoutNullableSequence(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithAndWithoutNullableSequence(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithAndWithoutNullableSequence&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithAndWithoutNullableSequence&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;unsigned&gt; arrayArg = toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;unsigned&gt; arrayArg = toNativeArray&lt;unsigned&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    Vector&lt;unsigned&gt; nullableArrayArg = toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;unsigned&gt; nullableArrayArg = toNativeArray&lt;unsigned&gt;(state, state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithAndWithoutNullableSequence(arrayArg, nullableArrayArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithAndWithoutNullableSequence2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithAndWithoutNullableSequence2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;methodWithAndWithoutNullableSequence2&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithAndWithoutNullableSequence2&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;unsigned&gt; arrayArg = toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;unsigned&gt; arrayArg = toNativeArray&lt;unsigned&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    Vector&lt;unsigned&gt; nullableArrayArg = toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;unsigned&gt; nullableArrayArg = toNativeArray&lt;unsigned&gt;(state, state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithAndWithoutNullableSequence2(arrayArg, nullableArrayArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionGetSVGDocument(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionGetSVGDocument(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;getSVGDocument&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;getSVGDocument&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    if (!shouldAllowAccessToNode(exec, impl.getSVGDocument(ec)))
</del><ins>+    if (!shouldAllowAccessToNode(state, impl.getSVGDocument(ec)))
</ins><span class="cx">         return JSValue::encode(jsNull());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.getSVGDocument(ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.getSVGDocument(ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert1(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;convert1&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;convert1&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestNode* value = JSTestNode::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestNode* value = JSTestNode::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert1(value);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;convert2&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;convert2&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestNode* value = JSTestNode::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestNode* value = JSTestNode::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert2(value);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert4(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert4(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;convert4&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;convert4&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestNode* value = JSTestNode::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestNode* value = JSTestNode::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert4(value);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert5(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionConvert5(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;convert5&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;convert5&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    TestNode* value = JSTestNode::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    TestNode* value = JSTestNode::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert5(value);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMutablePointFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMutablePointFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;mutablePointFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;mutablePointFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.mutablePointFunction())));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.mutablePointFunction())));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionImmutablePointFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionImmutablePointFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;immutablePointFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;immutablePointFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.immutablePointFunction())));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.immutablePointFunction())));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOrange(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOrange(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;orange&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;orange&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     impl.banana();
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;strictFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;strictFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 3))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 3))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    String str = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String str = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    float a = exec-&gt;argument(1).toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    float a = state-&gt;argument(1).toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    int b = toInt32(exec, exec-&gt;argument(2), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int b = toInt32(state, state-&gt;argument(2), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictFunction(str, a, b, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictFunction(str, a, b, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunctionWithSequence(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunctionWithSequence(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;strictFunctionWithSequence&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;strictFunctionWithSequence&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    if (!exec-&gt;argument(0).isUndefinedOrNull() &amp;&amp; !exec-&gt;argument(0).inherits(JSTestObj::info()))
-        return throwArgumentTypeError(*exec, 0, &quot;objArg&quot;, &quot;TestObj&quot;, &quot;strictFunctionWithSequence&quot;, &quot;TestObj&quot;);
-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (!state-&gt;argument(0).isUndefinedOrNull() &amp;&amp; !state-&gt;argument(0).inherits(JSTestObj::info()))
+        return throwArgumentTypeError(*state, 0, &quot;objArg&quot;, &quot;TestObj&quot;, &quot;strictFunctionWithSequence&quot;, &quot;TestObj&quot;);
+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    Vector&lt;unsigned&gt; a = toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;unsigned&gt; a = toNativeArray&lt;unsigned&gt;(state, state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictFunctionWithSequence(objArg, a, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictFunctionWithSequence(objArg, a, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunctionWithArray(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionStrictFunctionWithArray(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;strictFunctionWithArray&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;strictFunctionWithArray&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    if (!exec-&gt;argument(0).isUndefinedOrNull() &amp;&amp; !exec-&gt;argument(0).inherits(JSTestObj::info()))
-        return throwArgumentTypeError(*exec, 0, &quot;objArg&quot;, &quot;TestObj&quot;, &quot;strictFunctionWithArray&quot;, &quot;TestObj&quot;);
-    TestObj* objArg = JSTestObj::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (!state-&gt;argument(0).isUndefinedOrNull() &amp;&amp; !state-&gt;argument(0).inherits(JSTestObj::info()))
+        return throwArgumentTypeError(*state, 0, &quot;objArg&quot;, &quot;TestObj&quot;, &quot;strictFunctionWithArray&quot;, &quot;TestObj&quot;);
+    TestObj* objArg = JSTestObj::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    Vector&lt;int&gt; array = toNativeArray&lt;int&gt;(exec, exec-&gt;argument(1));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;int&gt; array = toNativeArray&lt;int&gt;(state, state-&gt;argument(1));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictFunctionWithArray(objArg, array, ec)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.strictFunctionWithArray(objArg, array, ec)));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicStringMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicStringMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;variadicStringMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;variadicStringMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String head = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String head = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    Vector&lt;String&gt; tail = toNativeArguments&lt;String&gt;(exec, 1);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;String&gt; tail = toNativeArguments&lt;String&gt;(state, 1);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.variadicStringMethod(head, tail);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicDoubleMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicDoubleMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;variadicDoubleMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;variadicDoubleMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    double head = exec-&gt;argument(0).toNumber(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    double head = state-&gt;argument(0).toNumber(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    Vector&lt;double&gt; tail = toNativeArguments&lt;double&gt;(exec, 1);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;double&gt; tail = toNativeArguments&lt;double&gt;(state, 1);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.variadicDoubleMethod(head, tail);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicNodeMethod(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicNodeMethod(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;variadicNodeMethod&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;variadicNodeMethod&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Node* head = JSNode::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Node* head = JSNode::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     Vector&lt;Node*&gt; tail;
</span><del>-    for (unsigned i = 1, count = exec-&gt;argumentCount(); i &lt; count; ++i) {
-        if (!exec-&gt;uncheckedArgument(i).inherits(JSNode::info()))
-            return throwArgumentTypeError(*exec, i, &quot;tail&quot;, &quot;TestObj&quot;, &quot;variadicNodeMethod&quot;, &quot;Node&quot;);
-        tail.append(JSNode::toWrapped(exec-&gt;uncheckedArgument(i)));
</del><ins>+    for (unsigned i = 1, count = state-&gt;argumentCount(); i &lt; count; ++i) {
+        if (!state-&gt;uncheckedArgument(i).inherits(JSNode::info()))
+            return throwArgumentTypeError(*state, i, &quot;tail&quot;, &quot;TestObj&quot;, &quot;variadicNodeMethod&quot;, &quot;Node&quot;);
+        tail.append(JSNode::toWrapped(state-&gt;uncheckedArgument(i)));
</ins><span class="cx">     }
</span><span class="cx">     impl.variadicNodeMethod(head, tail);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionAny(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionAny(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;any&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;any&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    float a = exec-&gt;argument(0).toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    float a = state-&gt;argument(0).toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    int b = toInt32(exec, exec-&gt;argument(1), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int b = toInt32(state, state-&gt;argument(1), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.any(a, b);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionPromise(ExecState*, JSPromiseDeferred*);
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    return JSValue::encode(callPromiseFunction(*exec, jsTestObjPrototypeFunctionTestPromiseFunctionPromise));
</del><ins>+    return JSValue::encode(callPromiseFunction(*state, jsTestObjPrototypeFunctionTestPromiseFunctionPromise));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionPromise(ExecState* exec, JSPromiseDeferred* promiseDeferred)
</del><ins>+static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionPromise(ExecState* state, JSPromiseDeferred* promiseDeferred)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;testPromiseFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;testPromiseFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    impl.testPromiseFunction(DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred));
</del><ins>+    impl.testPromiseFunction(DeferredWrapper(state, castedThis-&gt;globalObject(), promiseDeferred));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithFloatArgumentPromise(ExecState*, JSPromiseDeferred*);
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunctionWithFloatArgument(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunctionWithFloatArgument(ExecState* state)
</ins><span class="cx"> {
</span><del>-    return JSValue::encode(callPromiseFunction(*exec, jsTestObjPrototypeFunctionTestPromiseFunctionWithFloatArgumentPromise));
</del><ins>+    return JSValue::encode(callPromiseFunction(*state, jsTestObjPrototypeFunctionTestPromiseFunctionWithFloatArgumentPromise));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithFloatArgumentPromise(ExecState* exec, JSPromiseDeferred* promiseDeferred)
</del><ins>+static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithFloatArgumentPromise(ExecState* state, JSPromiseDeferred* promiseDeferred)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;testPromiseFunctionWithFloatArgument&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;testPromiseFunctionWithFloatArgument&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    float a = exec-&gt;argument(0).toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    float a = state-&gt;argument(0).toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     if (!std::isfinite(a)) {
</span><del>-        setDOMException(exec, TypeError);
</del><ins>+        setDOMException(state, TypeError);
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><del>-    impl.testPromiseFunctionWithFloatArgument(a, DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred));
</del><ins>+    impl.testPromiseFunctionWithFloatArgument(a, DeferredWrapper(state, castedThis-&gt;globalObject(), promiseDeferred));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithExceptionPromise(ExecState*, JSPromiseDeferred*);
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunctionWithException(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunctionWithException(ExecState* state)
</ins><span class="cx"> {
</span><del>-    return JSValue::encode(callPromiseFunction(*exec, jsTestObjPrototypeFunctionTestPromiseFunctionWithExceptionPromise));
</del><ins>+    return JSValue::encode(callPromiseFunction(*state, jsTestObjPrototypeFunctionTestPromiseFunctionWithExceptionPromise));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithExceptionPromise(ExecState* exec, JSPromiseDeferred* promiseDeferred)
</del><ins>+static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithExceptionPromise(ExecState* state, JSPromiseDeferred* promiseDeferred)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;testPromiseFunctionWithException&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;testPromiseFunctionWithException&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    impl.testPromiseFunctionWithException(DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred), ec);
-    setDOMException(exec, ec);
</del><ins>+    impl.testPromiseFunctionWithException(DeferredWrapper(state, castedThis-&gt;globalObject(), promiseDeferred), ec);
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithOptionalIntArgumentPromise(ExecState*, JSPromiseDeferred*);
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunctionWithOptionalIntArgument(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunctionWithOptionalIntArgument(ExecState* state)
</ins><span class="cx"> {
</span><del>-    return JSValue::encode(callPromiseFunction(*exec, jsTestObjPrototypeFunctionTestPromiseFunctionWithOptionalIntArgumentPromise));
</del><ins>+    return JSValue::encode(callPromiseFunction(*state, jsTestObjPrototypeFunctionTestPromiseFunctionWithOptionalIntArgumentPromise));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithOptionalIntArgumentPromise(ExecState* exec, JSPromiseDeferred* promiseDeferred)
</del><ins>+static inline EncodedJSValue jsTestObjPrototypeFunctionTestPromiseFunctionWithOptionalIntArgumentPromise(ExecState* state, JSPromiseDeferred* promiseDeferred)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;testPromiseFunctionWithOptionalIntArgument&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;testPromiseFunctionWithOptionalIntArgument&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><del>-        impl.testPromiseFunctionWithOptionalIntArgument(DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred));
</del><ins>+        impl.testPromiseFunctionWithOptionalIntArgument(DeferredWrapper(state, castedThis-&gt;globalObject(), promiseDeferred));
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    int a = toInt32(exec, exec-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int a = toInt32(state, state-&gt;argument(0), NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    impl.testPromiseFunctionWithOptionalIntArgument(a, DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred));
</del><ins>+    impl.testPromiseFunctionWithOptionalIntArgument(a, DeferredWrapper(state, castedThis-&gt;globalObject(), promiseDeferred));
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestObj*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestObj&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestObj&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestObj*);
</span><span class="cx"> 
</span><span class="cx"> // Functions
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -90,81 +90,81 @@
</span><span class="cx">     static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors1(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors1(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    ArrayBuffer* arrayBuffer = toArrayBuffer(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    ArrayBuffer* arrayBuffer = toArrayBuffer(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     RefPtr&lt;TestOverloadedConstructors&gt; object = TestOverloadedConstructors::create(arrayBuffer);
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    RefPtr&lt;ArrayBufferView&gt; arrayBufferView = toArrayBufferView(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    RefPtr&lt;ArrayBufferView&gt; arrayBufferView = toArrayBufferView(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     RefPtr&lt;TestOverloadedConstructors&gt; object = TestOverloadedConstructors::create(arrayBufferView);
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Blob* blob = JSBlob::toWrapped(exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Blob* blob = JSBlob::toWrapped(state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     RefPtr&lt;TestOverloadedConstructors&gt; object = TestOverloadedConstructors::create(blob);
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors4(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors4(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String string = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String string = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     RefPtr&lt;TestOverloadedConstructors&gt; object = TestOverloadedConstructors::create(string);
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors5(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors5(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(exec-&gt;callee());
-    Vector&lt;int&gt; longArgs = toNativeArguments&lt;int&gt;(exec, 0);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    auto* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(state-&gt;callee());
+    Vector&lt;int&gt; longArgs = toNativeArguments&lt;int&gt;(state, 0);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     RefPtr&lt;TestOverloadedConstructors&gt; object = TestOverloadedConstructors::create(longArgs);
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors(ExecState* state)
</ins><span class="cx"> {
</span><del>-    size_t argsCount = std::min&lt;size_t&gt;(1, exec-&gt;argumentCount());
-    JSValue arg0(exec-&gt;argument(0));
</del><ins>+    size_t argsCount = std::min&lt;size_t&gt;(1, state-&gt;argumentCount());
+    JSValue arg0(state-&gt;argument(0));
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; ((arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSArrayBuffer::info())))))
</span><del>-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors1(exec);
</del><ins>+        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors1(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; ((arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSArrayBufferView::info())))))
</span><del>-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors2(exec);
</del><ins>+        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors2(state);
</ins><span class="cx">     if ((argsCount == 1 &amp;&amp; ((arg0.isObject() &amp;&amp; asObject(arg0)-&gt;inherits(JSBlob::info())))))
</span><del>-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3(exec);
</del><ins>+        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3(state);
</ins><span class="cx">     if (argsCount == 1)
</span><del>-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors4(exec);
</del><ins>+        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors4(state);
</ins><span class="cx">     if ()
</span><del>-        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors5(exec);
</del><ins>+        return JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors5(state);
</ins><span class="cx">     if (argsCount &lt; 1)
</span><del>-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    return throwVMTypeError(exec);
</del><ins>+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    return throwVMTypeError(state);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestOverloadedConstructorsConstructor::s_info = { &quot;TestOverloadedConstructorsConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestOverloadedConstructorsConstructor) };
</span><span class="lines">@@ -233,12 +233,12 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestOverloadedConstructorsConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestOverloadedConstructorsConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestOverloadedConstructorsPrototype* domObject = jsDynamicCast&lt;JSTestOverloadedConstructorsPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestOverloadedConstructors::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestOverloadedConstructors::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestOverloadedConstructors::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestOverloadedConstructors*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestOverloadedConstructors&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestOverloadedConstructors&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestOverloadedConstructors*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -162,43 +162,43 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestOverrideBuiltins::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestOverrideBuiltins::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestOverrideBuiltins*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx">     if (thisObject-&gt;classInfo() == info()) {
</span><span class="cx">         JSValue value;
</span><del>-        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {
</del><ins>+        if (thisObject-&gt;nameGetter(state, propertyName, value)) {
</ins><span class="cx">             slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);
</span><span class="cx">             return true;
</span><span class="cx">         }
</span><span class="cx">     }
</span><del>-    if (getStaticValueSlot&lt;JSTestOverrideBuiltins, Base&gt;(exec, JSTestOverrideBuiltinsTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestOverrideBuiltins, Base&gt;(state, JSTestOverrideBuiltinsTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestOverrideBuiltins::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned index, PropertySlot&amp; slot)
</del><ins>+bool JSTestOverrideBuiltins::getOwnPropertySlotByIndex(JSObject* object, ExecState* state, unsigned index, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestOverrideBuiltins*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    Identifier propertyName = Identifier::from(exec, index);
</del><ins>+    Identifier propertyName = Identifier::from(state, index);
</ins><span class="cx">     if (thisObject-&gt;classInfo() == info()) {
</span><span class="cx">         JSValue value;
</span><del>-        if (thisObject-&gt;nameGetter(exec, propertyName, value)) {
</del><ins>+        if (thisObject-&gt;nameGetter(state, propertyName, value)) {
</ins><span class="cx">             slot.setValue(thisObject, ReadOnly | DontDelete | DontEnum, value);
</span><span class="cx">             return true;
</span><span class="cx">         }
</span><span class="cx">     }
</span><del>-    return Base::getOwnPropertySlotByIndex(thisObject, exec, index, slot);
</del><ins>+    return Base::getOwnPropertySlotByIndex(thisObject, state, index, slot);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestOverrideBuiltinsConstructor(ExecState* exec, JSObject*, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestOverrideBuiltinsConstructor(ExecState* state, JSObject*, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestOverrideBuiltins* domObject = jsDynamicCast&lt;JSTestOverrideBuiltins*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestOverrideBuiltins::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestOverrideBuiltins::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSTestOverrideBuiltins::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span><span class="lines">@@ -206,18 +206,18 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestOverrideBuiltinsConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestOverrideBuiltinsPrototypeFunctionNamedItem(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestOverrideBuiltinsPrototypeFunctionNamedItem(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestOverrideBuiltins* castedThis = jsDynamicCast&lt;JSTestOverrideBuiltins*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestOverrideBuiltins&quot;, &quot;namedItem&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestOverrideBuiltins&quot;, &quot;namedItem&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestOverrideBuiltins::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String name = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String name = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.namedItem(name)));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(impl.namedItem(name)));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestOverrideBuiltins*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestOverrideBuiltins&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestOverrideBuiltins&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestOverrideBuiltins*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -158,140 +158,140 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestSerializedScriptValueInterfaceValue(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestSerializedScriptValueInterfaceValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
-        return throwGetterTypeError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
+        return throwGetterTypeError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = impl.value() ? impl.value()-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull();
</del><ins>+    JSValue result = impl.value() ? impl.value()-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull();
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestSerializedScriptValueInterfaceReadonlyValue(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestSerializedScriptValueInterfaceReadonlyValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;readonlyValue&quot;);
-        return throwGetterTypeError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;readonlyValue&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;readonlyValue&quot;);
+        return throwGetterTypeError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;readonlyValue&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = impl.readonlyValue() ? impl.readonlyValue()-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull();
</del><ins>+    JSValue result = impl.readonlyValue() ? impl.readonlyValue()-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull();
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestSerializedScriptValueInterfaceCachedValue(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestSerializedScriptValueInterfaceCachedValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
-        return throwGetterTypeError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
+        return throwGetterTypeError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
</ins><span class="cx">     }
</span><span class="cx">     if (JSValue cachedValue = castedThis-&gt;m_cachedValue.get())
</span><span class="cx">         return JSValue::encode(cachedValue);
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = impl.cachedValue() ? impl.cachedValue()-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull();
-    castedThis-&gt;m_cachedValue.set(exec-&gt;vm(), castedThis, result);
</del><ins>+    JSValue result = impl.cachedValue() ? impl.cachedValue()-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull();
+    castedThis-&gt;m_cachedValue.set(state-&gt;vm(), castedThis, result);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestSerializedScriptValueInterfacePorts(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestSerializedScriptValueInterfacePorts(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;ports&quot;);
-        return throwGetterTypeError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;ports&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;ports&quot;);
+        return throwGetterTypeError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;ports&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsArray(exec, castedThis-&gt;globalObject(), impl.ports());
</del><ins>+    JSValue result = jsArray(state, castedThis-&gt;globalObject(), impl.ports());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestSerializedScriptValueInterfaceCachedReadonlyValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedReadonlyValue&quot;);
-        return throwGetterTypeError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedReadonlyValue&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedReadonlyValue&quot;);
+        return throwGetterTypeError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedReadonlyValue&quot;);
</ins><span class="cx">     }
</span><span class="cx">     if (JSValue cachedValue = castedThis-&gt;m_cachedReadonlyValue.get())
</span><span class="cx">         return JSValue::encode(cachedValue);
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = impl.cachedReadonlyValue() ? impl.cachedReadonlyValue()-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull();
-    castedThis-&gt;m_cachedReadonlyValue.set(exec-&gt;vm(), castedThis, result);
</del><ins>+    JSValue result = impl.cachedReadonlyValue() ? impl.cachedReadonlyValue()-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull();
+    castedThis-&gt;m_cachedReadonlyValue.set(state-&gt;vm(), castedThis, result);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestSerializedScriptValueInterfaceConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestSerializedScriptValueInterfaceConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestSerializedScriptValueInterfacePrototype* domObject = jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestSerializedScriptValueInterface::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestSerializedScriptValueInterface::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void setJSTestSerializedScriptValueInterfaceValue(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestSerializedScriptValueInterfaceValue(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;value&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    RefPtr&lt;SerializedScriptValue&gt; nativeValue = SerializedScriptValue::create(exec, value, 0, 0);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    RefPtr&lt;SerializedScriptValue&gt; nativeValue = SerializedScriptValue::create(state, value, 0, 0);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setValue(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestSerializedScriptValueInterfaceCachedValue(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestSerializedScriptValueInterfaceCachedValue(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestSerializedScriptValueInterface* castedThis = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestSerializedScriptValueInterfacePrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestSerializedScriptValueInterface&quot;, &quot;cachedValue&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    RefPtr&lt;SerializedScriptValue&gt; nativeValue = SerializedScriptValue::create(exec, value, 0, 0);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    RefPtr&lt;SerializedScriptValue&gt; nativeValue = SerializedScriptValue::create(state, value, 0, 0);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setCachedValue(nativeValue);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestSerializedScriptValueInterface*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestSerializedScriptValueInterface&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestSerializedScriptValueInterface&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestSerializedScriptValueInterface*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -143,19 +143,19 @@
</span><span class="cx">     { &quot;TestSubObj&quot;, DontDelete | ReadOnly, NoIntrinsic, { (intptr_t)static_cast&lt;PropertySlot::GetValueFunc&gt;(jsTestTypedefsConstructorTestSubObj), (intptr_t) static_cast&lt;PutPropertySlot::PutValueFunc&gt;(0) } },
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL JSTestTypedefsConstructor::constructJSTestTypedefs(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL JSTestTypedefsConstructor::constructJSTestTypedefs(ExecState* state)
</ins><span class="cx"> {
</span><del>-    auto* castedThis = jsCast&lt;JSTestTypedefsConstructor*&gt;(exec-&gt;callee());
-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 2))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    String hello = exec-&gt;argument(0).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    auto* castedThis = jsCast&lt;JSTestTypedefsConstructor*&gt;(state-&gt;callee());
+    if (UNLIKELY(state-&gt;argumentCount() &lt; 2))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    String hello = state-&gt;argument(0).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    if (!exec-&gt;argument(1).isObject())
-        return throwArgumentMustBeFunctionError(*exec, 1, &quot;testCallback&quot;, &quot;TestTypedefs&quot;, nullptr);
-    RefPtr&lt;TestCallback&gt; testCallback = JSTestCallback::create(asObject(exec-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</del><ins>+    if (!state-&gt;argument(1).isObject())
+        return throwArgumentMustBeFunctionError(*state, 1, &quot;testCallback&quot;, &quot;TestTypedefs&quot;, nullptr);
+    RefPtr&lt;TestCallback&gt; testCallback = JSTestCallback::create(asObject(state-&gt;uncheckedArgument(1)), castedThis-&gt;globalObject());
</ins><span class="cx">     RefPtr&lt;TestTypedefs&gt; object = TestTypedefs::create(hello, testCallback);
</span><del>-    return JSValue::encode(asObject(toJS(exec, castedThis-&gt;globalObject(), object.get())));
</del><ins>+    return JSValue::encode(asObject(toJS(state, castedThis-&gt;globalObject(), object.get())));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestTypedefsConstructor::s_info = { &quot;TestTypedefsConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestTypedefsConstructor) };
</span><span class="lines">@@ -241,25 +241,25 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSTestTypedefs::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot&amp; slot)
</del><ins>+bool JSTestTypedefs::getOwnPropertySlot(JSObject* object, ExecState* state, PropertyName propertyName, PropertySlot&amp; slot)
</ins><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestTypedefs*&gt;(object);
</span><span class="cx">     ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><del>-    if (getStaticValueSlot&lt;JSTestTypedefs, Base&gt;(exec, JSTestTypedefsTable, thisObject, propertyName, slot))
</del><ins>+    if (getStaticValueSlot&lt;JSTestTypedefs, Base&gt;(state, JSTestTypedefsTable, thisObject, propertyName, slot))
</ins><span class="cx">         return true;
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsUnsignedLongLongAttr(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsUnsignedLongLongAttr(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
-        return throwGetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
+        return throwGetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.unsignedLongLongAttr());
</span><span class="lines">@@ -267,62 +267,62 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsImmutableSerializedScriptValue(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsImmutableSerializedScriptValue(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
-        return throwGetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
+        return throwGetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = impl.immutableSerializedScriptValue() ? impl.immutableSerializedScriptValue()-&gt;deserialize(exec, castedThis-&gt;globalObject(), 0) : jsNull();
</del><ins>+    JSValue result = impl.immutableSerializedScriptValue() ? impl.immutableSerializedScriptValue()-&gt;deserialize(state, castedThis-&gt;globalObject(), 0) : jsNull();
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsConstructorTestSubObj(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsConstructorTestSubObj(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     auto* castedThis = jsCast&lt;JSTestTypedefs*&gt;(slotBase);
</span><del>-    return JSValue::encode(JSTestSubObj::getConstructor(exec-&gt;vm(), castedThis-&gt;globalObject()));
</del><ins>+    return JSValue::encode(JSTestSubObj::getConstructor(state-&gt;vm(), castedThis-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsAttrWithGetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsAttrWithGetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.attrWithGetterException(ec));
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsAttrWithSetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsAttrWithSetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     JSValue result = jsNumber(impl.attrWithSetterException());
</span><span class="lines">@@ -330,171 +330,171 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsStringAttrWithGetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsStringAttrWithGetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.stringAttrWithGetterException(ec));
-    setDOMException(exec, ec);
</del><ins>+    JSValue result = jsStringWithCache(state, impl.stringAttrWithGetterException(ec));
+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsStringAttrWithSetterException(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsStringAttrWithSetterException(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
-        return throwGetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
+        return throwGetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.stringAttrWithSetterException());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.stringAttrWithSetterException());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsTestTypedefsConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsTestTypedefsConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSTestTypedefsPrototype* domObject = jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSTestTypedefs::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSTestTypedefs::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void setJSTestTypedefsUnsignedLongLongAttr(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestTypedefsUnsignedLongLongAttr(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;unsignedLongLongAttr&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    unsigned long long nativeValue = toUInt64(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    unsigned long long nativeValue = toUInt64(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setUnsignedLongLongAttr(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestTypedefsImmutableSerializedScriptValue(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestTypedefsImmutableSerializedScriptValue(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;immutableSerializedScriptValue&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    RefPtr&lt;SerializedScriptValue&gt; nativeValue = SerializedScriptValue::create(exec, value, 0, 0);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    RefPtr&lt;SerializedScriptValue&gt; nativeValue = SerializedScriptValue::create(state, value, 0, 0);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setImmutableSerializedScriptValue(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestTypedefsAttrWithGetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestTypedefsAttrWithGetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;attrWithGetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttrWithGetterException(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestTypedefsAttrWithSetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestTypedefsAttrWithSetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;attrWithSetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    int nativeValue = toInt32(exec, value, NormalConversion);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    int nativeValue = toInt32(state, value, NormalConversion);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setAttrWithSetterException(nativeValue, ec);
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestTypedefsStringAttrWithGetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestTypedefsStringAttrWithGetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithGetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setStringAttrWithGetterException(nativeValue);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-void setJSTestTypedefsStringAttrWithSetterException(ExecState* exec, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</del><ins>+void setJSTestTypedefsStringAttrWithSetterException(ExecState* state, JSObject* baseObject, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</ins><span class="cx"> {
</span><span class="cx">     JSValue value = JSValue::decode(encodedValue);
</span><span class="cx">     UNUSED_PARAM(baseObject);
</span><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSTestTypedefsPrototype*&gt;(JSValue::decode(thisValue)))
</span><del>-            reportDeprecatedSetterError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
</del><ins>+            reportDeprecatedSetterError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
</ins><span class="cx">         else
</span><del>-            throwSetterTypeError(*exec, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
</del><ins>+            throwSetterTypeError(*state, &quot;TestTypedefs&quot;, &quot;stringAttrWithSetterException&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    String nativeValue = value.toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String nativeValue = value.toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return;
</span><span class="cx">     impl.setStringAttrWithSetterException(nativeValue, ec);
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="lines">@@ -503,131 +503,131 @@
</span><span class="cx">     return getDOMConstructor&lt;JSTestTypedefsConstructor&gt;(vm, jsCast&lt;JSDOMGlobalObject*&gt;(globalObject));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFunc(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFunc(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;func&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;func&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 0) {
</span><span class="cx">         impl.func();
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    Vector&lt;int&gt; x = toNativeArray&lt;int&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;int&gt; x = toNativeArray&lt;int&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.func(x);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionSetShadow(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionSetShadow(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;setShadow&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;setShadow&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 3))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    float width = exec-&gt;argument(0).toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 3))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    float width = state-&gt;argument(0).toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    float height = exec-&gt;argument(1).toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    float height = state-&gt;argument(1).toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    float blur = exec-&gt;argument(2).toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    float blur = state-&gt;argument(2).toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 3) {
</span><span class="cx">         impl.setShadow(width, height, blur);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    String color = exec-&gt;argument(3).toString(exec)-&gt;value(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    String color = state-&gt;argument(3).toString(state)-&gt;value(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     if (argsCount &lt;= 4) {
</span><span class="cx">         impl.setShadow(width, height, blur, color);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    float alpha = exec-&gt;argument(4).toFloat(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    float alpha = state-&gt;argument(4).toFloat(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.setShadow(width, height, blur, color, alpha);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithSequenceArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithSequenceArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;methodWithSequenceArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;methodWithSequenceArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;RefPtr&lt;SerializedScriptValue&gt;&gt; sequenceArg = (toRefPtrNativeArray&lt;SerializedScriptValue, JSSerializedScriptValue&gt;(exec, exec-&gt;argument(0), &amp;JSSerializedScriptValue::toWrapped));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;RefPtr&lt;SerializedScriptValue&gt;&gt; sequenceArg = (toRefPtrNativeArray&lt;SerializedScriptValue, JSSerializedScriptValue&gt;(state, state-&gt;argument(0), &amp;JSSerializedScriptValue::toWrapped));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.methodWithSequenceArg(sequenceArg));
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionNullableArrayArg(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionNullableArrayArg(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;nullableArrayArg&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;nullableArrayArg&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;String&gt; arrayArg = toNativeArray&lt;String&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;String&gt; arrayArg = toNativeArray&lt;String&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.nullableArrayArg(arrayArg);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFuncWithClamp(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFuncWithClamp(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;funcWithClamp&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;funcWithClamp&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     unsigned long long arg1 = 0;
</span><del>-    double arg1NativeValue = exec-&gt;argument(0).toNumber(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    double arg1NativeValue = state-&gt;argument(0).toNumber(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><span class="cx">     if (!std::isnan(arg1NativeValue))
</span><span class="cx">         arg1 = clampTo&lt;unsigned long long&gt;(arg1NativeValue);
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-    size_t argsCount = exec-&gt;argumentCount();
</del><ins>+    size_t argsCount = state-&gt;argumentCount();
</ins><span class="cx">     if (argsCount &lt;= 1) {
</span><span class="cx">         impl.funcWithClamp(arg1);
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     unsigned long long arg2 = 0;
</span><del>-    double arg2NativeValue = exec-&gt;argument(1).toNumber(exec);
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    double arg2NativeValue = state-&gt;argument(1).toNumber(state);
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><span class="cx">     if (!std::isnan(arg2NativeValue))
</span><span class="lines">@@ -637,86 +637,86 @@
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionImmutablePointFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionImmutablePointFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;immutablePointFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;immutablePointFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.immutablePointFunction())));
</del><ins>+    JSValue result = toJS(state, castedThis-&gt;globalObject(), WTF::getPtr(SVGPropertyTearOff&lt;SVGPoint&gt;::create(impl.immutablePointFunction())));
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;stringArrayFunction&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;stringArrayFunction&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    Vector&lt;String&gt; values = toNativeArray&lt;String&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;String&gt; values = toNativeArray&lt;String&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = jsArray(exec, castedThis-&gt;globalObject(), impl.stringArrayFunction(values, ec));
</del><ins>+    JSValue result = jsArray(state, castedThis-&gt;globalObject(), impl.stringArrayFunction(values, ec));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction2(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionStringArrayFunction2(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;stringArrayFunction2&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;stringArrayFunction2&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><del>-    Vector&lt;String&gt; values = toNativeArray&lt;String&gt;(exec, exec-&gt;argument(0));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    Vector&lt;String&gt; values = toNativeArray&lt;String&gt;(state, state-&gt;argument(0));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    JSValue result = jsArray(exec, castedThis-&gt;globalObject(), impl.stringArrayFunction2(values, ec));
</del><ins>+    JSValue result = jsArray(state, castedThis-&gt;globalObject(), impl.stringArrayFunction2(values, ec));
</ins><span class="cx"> 
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;callWithSequenceThatRequiresInclude&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;callWithSequenceThatRequiresInclude&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    if (UNLIKELY(exec-&gt;argumentCount() &lt; 1))
-        return throwVMError(exec, createNotEnoughArgumentsError(exec));
-    Vector&lt;RefPtr&lt;TestEventTarget&gt;&gt; sequenceArg = (toRefPtrNativeArray&lt;TestEventTarget, JSTestEventTarget&gt;(exec, exec-&gt;argument(0), &amp;JSTestEventTarget::toWrapped));
-    if (UNLIKELY(exec-&gt;hadException()))
</del><ins>+    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
+        return throwVMError(state, createNotEnoughArgumentsError(state));
+    Vector&lt;RefPtr&lt;TestEventTarget&gt;&gt; sequenceArg = (toRefPtrNativeArray&lt;TestEventTarget, JSTestEventTarget&gt;(state, state-&gt;argument(0), &amp;JSTestEventTarget::toWrapped));
+    if (UNLIKELY(state-&gt;hadException()))
</ins><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsBoolean(impl.callWithSequenceThatRequiresInclude(sequenceArg));
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithException(ExecState* exec)
</del><ins>+EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionMethodWithException(ExecState* state)
</ins><span class="cx"> {
</span><del>-    JSValue thisValue = exec-&gt;thisValue();
</del><ins>+    JSValue thisValue = state-&gt;thisValue();
</ins><span class="cx">     JSTestTypedefs* castedThis = jsDynamicCast&lt;JSTestTypedefs*&gt;(thisValue);
</span><span class="cx">     if (UNLIKELY(!castedThis))
</span><del>-        return throwThisTypeError(*exec, &quot;TestTypedefs&quot;, &quot;methodWithException&quot;);
</del><ins>+        return throwThisTypeError(*state, &quot;TestTypedefs&quot;, &quot;methodWithException&quot;);
</ins><span class="cx">     ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     impl.methodWithException(ec);
</span><del>-    setDOMException(exec, ec);
</del><ins>+    setDOMException(state, ec);
</ins><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestTypedefs*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestTypedefs&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestTypedefs&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, TestTypedefs*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -143,29 +143,29 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsattributeReadonly(ExecState* exec, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</del><ins>+EncodedJSValue jsattributeReadonly(ExecState* state, JSObject* slotBase, EncodedJSValue thisValue, PropertyName)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(exec);
</del><ins>+    UNUSED_PARAM(state);
</ins><span class="cx">     UNUSED_PARAM(slotBase);
</span><span class="cx">     UNUSED_PARAM(thisValue);
</span><span class="cx">     JSattribute* castedThis = jsDynamicCast&lt;JSattribute*&gt;(JSValue::decode(thisValue));
</span><span class="cx">     if (UNLIKELY(!castedThis)) {
</span><span class="cx">         if (jsDynamicCast&lt;JSattributePrototype*&gt;(slotBase))
</span><del>-            return reportDeprecatedGetterError(*exec, &quot;attribute&quot;, &quot;readonly&quot;);
-        return throwGetterTypeError(*exec, &quot;attribute&quot;, &quot;readonly&quot;);
</del><ins>+            return reportDeprecatedGetterError(*state, &quot;attribute&quot;, &quot;readonly&quot;);
+        return throwGetterTypeError(*state, &quot;attribute&quot;, &quot;readonly&quot;);
</ins><span class="cx">     }
</span><span class="cx">     auto&amp; impl = castedThis-&gt;impl();
</span><del>-    JSValue result = jsStringWithCache(exec, impl.readonly());
</del><ins>+    JSValue result = jsStringWithCache(state, impl.readonly());
</ins><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-EncodedJSValue jsattributeConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsattributeConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSattributePrototype* domObject = jsDynamicCast&lt;JSattributePrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSattribute::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSattribute::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSattribute::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, attribute*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, attribute&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, attribute&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, attribute*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -139,12 +139,12 @@
</span><span class="cx">     releaseImpl();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue jsreadonlyConstructor(ExecState* exec, JSObject* baseValue, EncodedJSValue, PropertyName)
</del><ins>+EncodedJSValue jsreadonlyConstructor(ExecState* state, JSObject* baseValue, EncodedJSValue, PropertyName)
</ins><span class="cx"> {
</span><span class="cx">     JSreadonlyPrototype* domObject = jsDynamicCast&lt;JSreadonlyPrototype*&gt;(baseValue);
</span><span class="cx">     if (!domObject)
</span><del>-        return throwVMTypeError(exec);
-    return JSValue::encode(JSreadonly::getConstructor(exec-&gt;vm(), domObject-&gt;globalObject()));
</del><ins>+        return throwVMTypeError(state);
+    return JSValue::encode(JSreadonly::getConstructor(state-&gt;vm(), domObject-&gt;globalObject()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSValue JSreadonly::getConstructor(VM&amp; vm, JSGlobalObject* globalObject)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h (190027 => 190028)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h        2015-09-20 16:37:47 UTC (rev 190027)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h        2015-09-20 16:41:01 UTC (rev 190028)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, readonly*);
</span><del>-inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, readonly&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</del><ins>+inline JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, readonly&amp; impl) { return toJS(state, globalObject, &amp;impl); }
</ins><span class="cx"> JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, readonly*);
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>