<!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>[202268] 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/202268">202268</a></dd>
<dt>Author</dt> <dd>barraclough@apple.com</dd>
<dt>Date</dt> <dd>2016-06-20 21:56:23 -0700 (Mon, 20 Jun 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Don't eagerly reify DOM Prototype properties
https://bugs.webkit.org/show_bug.cgi?id=158557
Reviewed by Andreas Kling.
We were eagerly reifying these properties to avoid virtualizing getOwnPropertySlot,
but since bug #158059 this does not require a method table call in any case.
Eagerly reifying these values likely has some CPU and memory cost on page load.
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
- should generate compressed index for hashtable,
prototype object ClassInfo should contain static table,
don't reifyStaticProperties for prototype objects.
(GeneratePrototypeDeclaration):
- Set HasStaticPropertyTable for DOM prototype objects.
* bindings/scripts/test/JS/JSInterfaceName.cpp:
(WebCore::JSInterfaceNamePrototype::JSInterfaceNamePrototype):
(WebCore::JSInterfaceNamePrototype::finishCreation):
* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore::JSTestActiveDOMObjectPrototype::JSTestActiveDOMObjectPrototype):
(WebCore::JSTestActiveDOMObjectPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
(WebCore::JSTestClassWithJSBuiltinConstructorPrototype::JSTestClassWithJSBuiltinConstructorPrototype):
(WebCore::JSTestClassWithJSBuiltinConstructorPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:
(WebCore::JSTestCustomConstructorWithNoInterfaceObjectPrototype::JSTestCustomConstructorWithNoInterfaceObjectPrototype):
(WebCore::JSTestCustomConstructorWithNoInterfaceObjectPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
(WebCore::JSTestCustomNamedGetterPrototype::JSTestCustomNamedGetterPrototype):
(WebCore::JSTestCustomNamedGetterPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructorPrototype::JSTestEventConstructorPrototype):
(WebCore::JSTestEventConstructorPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTargetPrototype::JSTestEventTargetPrototype):
(WebCore::JSTestEventTargetPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestException.cpp:
(WebCore::JSTestExceptionPrototype::JSTestExceptionPrototype):
(WebCore::JSTestExceptionPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
(WebCore::JSTestGenerateIsReachablePrototype::JSTestGenerateIsReachablePrototype):
(WebCore::JSTestGenerateIsReachablePrototype::finishCreation):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::JSTestInterfacePrototype::JSTestInterfacePrototype):
(WebCore::JSTestInterfacePrototype::finishCreation):
* bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp:
(WebCore::JSTestJSBuiltinConstructorPrototype::JSTestJSBuiltinConstructorPrototype):
(WebCore::JSTestJSBuiltinConstructorPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
(WebCore::JSTestMediaQueryListListenerPrototype::JSTestMediaQueryListListenerPrototype):
(WebCore::JSTestMediaQueryListListenerPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
(WebCore::JSTestNamedConstructorPrototype::JSTestNamedConstructorPrototype):
(WebCore::JSTestNamedConstructorPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestNode.cpp:
(WebCore::JSTestNodePrototype::JSTestNodePrototype):
(WebCore::JSTestNodePrototype::finishCreation):
* bindings/scripts/test/JS/JSTestNondeterministic.cpp:
(WebCore::JSTestNondeterministicPrototype::JSTestNondeterministicPrototype):
(WebCore::JSTestNondeterministicPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::JSTestObjPrototype::JSTestObjPrototype):
(WebCore::JSTestObjPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
(WebCore::JSTestOverloadedConstructorsPrototype::JSTestOverloadedConstructorsPrototype):
(WebCore::JSTestOverloadedConstructorsPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
(WebCore::JSTestOverrideBuiltinsPrototype::JSTestOverrideBuiltinsPrototype):
(WebCore::JSTestOverrideBuiltinsPrototype::finishCreation):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::JSTestSerializedScriptValueInterfacePrototype::JSTestSerializedScriptValueInterfacePrototype):
(WebCore::JSTestSerializedScriptValueInterfacePrototype::finishCreation):
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore::JSTestTypedefsPrototype::JSTestTypedefsPrototype):
(WebCore::JSTestTypedefsPrototype::finishCreation):
* bindings/scripts/test/JS/JSattribute.cpp:
(WebCore::JSattributePrototype::JSattributePrototype):
(WebCore::JSattributePrototype::finishCreation):
* bindings/scripts/test/JS/JSreadonly.cpp:
(WebCore::JSreadonlyPrototype::JSreadonlyPrototype):
(WebCore::JSreadonlyPrototype::finishCreation):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSInterfaceNamecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestClassWithJSBuiltinConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjectcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestJSBuiltinConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp</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="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/ChangeLog        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -1,3 +1,88 @@
</span><ins>+2016-06-19 Gavin & Ellie Barraclough <barraclough@apple.com>
+
+ Don't eagerly reify DOM Prototype properties
+ https://bugs.webkit.org/show_bug.cgi?id=158557
+
+ Reviewed by Andreas Kling.
+
+ We were eagerly reifying these properties to avoid virtualizing getOwnPropertySlot,
+ but since bug #158059 this does not require a method table call in any case.
+ Eagerly reifying these values likely has some CPU and memory cost on page load.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ - should generate compressed index for hashtable,
+ prototype object ClassInfo should contain static table,
+ don't reifyStaticProperties for prototype objects.
+ (GeneratePrototypeDeclaration):
+ - Set HasStaticPropertyTable for DOM prototype objects.
+ * bindings/scripts/test/JS/JSInterfaceName.cpp:
+ (WebCore::JSInterfaceNamePrototype::JSInterfaceNamePrototype):
+ (WebCore::JSInterfaceNamePrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::JSTestActiveDOMObjectPrototype::JSTestActiveDOMObjectPrototype):
+ (WebCore::JSTestActiveDOMObjectPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
+ (WebCore::JSTestClassWithJSBuiltinConstructorPrototype::JSTestClassWithJSBuiltinConstructorPrototype):
+ (WebCore::JSTestClassWithJSBuiltinConstructorPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:
+ (WebCore::JSTestCustomConstructorWithNoInterfaceObjectPrototype::JSTestCustomConstructorWithNoInterfaceObjectPrototype):
+ (WebCore::JSTestCustomConstructorWithNoInterfaceObjectPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::JSTestCustomNamedGetterPrototype::JSTestCustomNamedGetterPrototype):
+ (WebCore::JSTestCustomNamedGetterPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ (WebCore::JSTestEventConstructorPrototype::JSTestEventConstructorPrototype):
+ (WebCore::JSTestEventConstructorPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::JSTestEventTargetPrototype::JSTestEventTargetPrototype):
+ (WebCore::JSTestEventTargetPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::JSTestExceptionPrototype::JSTestExceptionPrototype):
+ (WebCore::JSTestExceptionPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ (WebCore::JSTestGenerateIsReachablePrototype::JSTestGenerateIsReachablePrototype):
+ (WebCore::JSTestGenerateIsReachablePrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::JSTestInterfacePrototype::JSTestInterfacePrototype):
+ (WebCore::JSTestInterfacePrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp:
+ (WebCore::JSTestJSBuiltinConstructorPrototype::JSTestJSBuiltinConstructorPrototype):
+ (WebCore::JSTestJSBuiltinConstructorPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::JSTestMediaQueryListListenerPrototype::JSTestMediaQueryListListenerPrototype):
+ (WebCore::JSTestMediaQueryListListenerPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ (WebCore::JSTestNamedConstructorPrototype::JSTestNamedConstructorPrototype):
+ (WebCore::JSTestNamedConstructorPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestNode.cpp:
+ (WebCore::JSTestNodePrototype::JSTestNodePrototype):
+ (WebCore::JSTestNodePrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ (WebCore::JSTestNondeterministicPrototype::JSTestNondeterministicPrototype):
+ (WebCore::JSTestNondeterministicPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::JSTestObjPrototype::JSTestObjPrototype):
+ (WebCore::JSTestObjPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ (WebCore::JSTestOverloadedConstructorsPrototype::JSTestOverloadedConstructorsPrototype):
+ (WebCore::JSTestOverloadedConstructorsPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
+ (WebCore::JSTestOverrideBuiltinsPrototype::JSTestOverrideBuiltinsPrototype):
+ (WebCore::JSTestOverrideBuiltinsPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::JSTestSerializedScriptValueInterfacePrototype::JSTestSerializedScriptValueInterfacePrototype):
+ (WebCore::JSTestSerializedScriptValueInterfacePrototype::finishCreation):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::JSTestTypedefsPrototype::JSTestTypedefsPrototype):
+ (WebCore::JSTestTypedefsPrototype::finishCreation):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ (WebCore::JSattributePrototype::JSattributePrototype):
+ (WebCore::JSattributePrototype::finishCreation):
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ (WebCore::JSreadonlyPrototype::JSreadonlyPrototype):
+ (WebCore::JSreadonlyPrototype::finishCreation):
+
</ins><span class="cx"> 2016-06-20 Adam Bergkvist <adam.bergkvist@ericsson.com>
</span><span class="cx">
</span><span class="cx"> WebRTC: RTCIceCandidate init dictionary don't handle explicit null or undefined values correctly
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -2263,24 +2263,18 @@
</span><span class="cx"> $hashSize++;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- my $justGenerateValueArray = !IsDOMGlobalObject($interface);
-
</del><span class="cx"> $object->GenerateHashTable($hashName, $hashSize,
</span><span class="cx"> \@hashKeys, \@hashSpecials,
</span><span class="cx"> \@hashValue1, \@hashValue2,
</span><del>- \%conditionals, $justGenerateValueArray);
</del><ins>+ \%conditionals, 0);
</ins><span class="cx">
</span><del>- if ($justGenerateValueArray) {
- push(@implContent, "const ClassInfo ${className}Prototype::s_info = { \"${visibleInterfaceName}Prototype\", &Base::s_info, 0, CREATE_METHOD_TABLE(${className}Prototype) };\n\n");
- } else {
- push(@implContent, "const ClassInfo ${className}Prototype::s_info = { \"${visibleInterfaceName}Prototype\", &Base::s_info, &${className}PrototypeTable, CREATE_METHOD_TABLE(${className}Prototype) };\n\n");
- }
</del><ins>+ push(@implContent, "const ClassInfo ${className}Prototype::s_info = { \"${visibleInterfaceName}Prototype\", &Base::s_info, &${className}PrototypeTable, CREATE_METHOD_TABLE(${className}Prototype) };\n\n");
</ins><span class="cx">
</span><span class="cx"> if (PrototypeHasStaticPropertyTable($interface) && !IsDOMGlobalObject($interface)) {
</span><span class="cx"> push(@implContent, "void ${className}Prototype::finishCreation(VM& vm)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><span class="cx"> push(@implContent, " Base::finishCreation(vm);\n");
</span><del>- push(@implContent, " reifyStaticProperties(vm, ${className}PrototypeTableValues, *this);\n");
</del><ins>+ push(@implContent, " convertToDictionary(vm);\n");
</ins><span class="cx">
</span><span class="cx"> my @runtimeEnabledProperties = @runtimeEnabledFunctions;
</span><span class="cx"> push(@runtimeEnabledProperties, @runtimeEnabledAttributes);
</span><span class="lines">@@ -4832,9 +4826,8 @@
</span><span class="cx"> push(@$outputArray, " }\n");
</span><span class="cx">
</span><span class="cx"> if (PrototypeHasStaticPropertyTable($interface)) {
</span><del>- if (IsDOMGlobalObject($interface)) {
- $structureFlags{"JSC::HasStaticPropertyTable"} = 1;
- } else {
</del><ins>+ $structureFlags{"JSC::HasStaticPropertyTable"} = 1;
+ if (!IsDOMGlobalObject($interface)) {
</ins><span class="cx"> push(@$outputArray, "\n");
</span><span class="cx"> push(@$outputArray, " void finishCreation(JSC::VM&);\n");
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSInterfaceNamecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -58,6 +58,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSInterfaceName> JSInterfaceNameConstructor;
</span><span class="lines">@@ -79,17 +81,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSInterfaceNamePrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSInterfaceNamePrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsInterfaceNameConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSInterfaceNameConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSInterfaceNamePrototype::s_info = { "InterfaceNamePrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSInterfaceNamePrototype) };
</del><ins>+static const HashTable JSInterfaceNamePrototypeTable = { 1, 1, true, JSInterfaceNamePrototypeTableValues, JSInterfaceNamePrototypeTableIndex };
+const ClassInfo JSInterfaceNamePrototype::s_info = { "InterfaceNamePrototype", &Base::s_info, &JSInterfaceNamePrototypeTable, CREATE_METHOD_TABLE(JSInterfaceNamePrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSInterfaceNamePrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSInterfaceNamePrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSInterfaceName::s_info = { "InterfaceName", &Base::s_info, 0, CREATE_METHOD_TABLE(JSInterfaceName) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -67,6 +67,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestActiveDOMObject> JSTestActiveDOMObjectConstructor;
</span><span class="lines">@@ -102,6 +104,19 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestActiveDOMObjectPrototypeTableIndex[9] = {
+ { -1, -1 },
+ { 0, 8 },
+ { -1, -1 },
+ { -1, -1 },
+ { 1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 2, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestActiveDOMObjectPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestActiveDOMObjectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestActiveDOMObjectConstructor) } },
</span><span class="lines">@@ -109,12 +124,13 @@
</span><span class="cx"> { "postMessage", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestActiveDOMObjectPrototypeFunctionPostMessage), (intptr_t) (1) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestActiveDOMObjectPrototype::s_info = { "TestActiveDOMObjectPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestActiveDOMObjectPrototype) };
</del><ins>+static const HashTable JSTestActiveDOMObjectPrototypeTable = { 3, 7, true, JSTestActiveDOMObjectPrototypeTableValues, JSTestActiveDOMObjectPrototypeTableIndex };
+const ClassInfo JSTestActiveDOMObjectPrototype::s_info = { "TestActiveDOMObjectPrototype", &Base::s_info, &JSTestActiveDOMObjectPrototypeTable, CREATE_METHOD_TABLE(JSTestActiveDOMObjectPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestActiveDOMObjectPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestActiveDOMObjectPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestActiveDOMObject::s_info = { "TestActiveDOMObject", &Base::s_info, &JSTestActiveDOMObjectTable, CREATE_METHOD_TABLE(JSTestActiveDOMObject) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestClassWithJSBuiltinConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -59,6 +59,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSBuiltinConstructor<JSTestClassWithJSBuiltinConstructor> JSTestClassWithJSBuiltinConstructorConstructor;
</span><span class="lines">@@ -85,17 +87,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestClassWithJSBuiltinConstructorPrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestClassWithJSBuiltinConstructorPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestClassWithJSBuiltinConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestClassWithJSBuiltinConstructorConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestClassWithJSBuiltinConstructorPrototype::s_info = { "TestClassWithJSBuiltinConstructorPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestClassWithJSBuiltinConstructorPrototype) };
</del><ins>+static const HashTable JSTestClassWithJSBuiltinConstructorPrototypeTable = { 1, 1, true, JSTestClassWithJSBuiltinConstructorPrototypeTableValues, JSTestClassWithJSBuiltinConstructorPrototypeTableIndex };
+const ClassInfo JSTestClassWithJSBuiltinConstructorPrototype::s_info = { "TestClassWithJSBuiltinConstructorPrototype", &Base::s_info, &JSTestClassWithJSBuiltinConstructorPrototypeTable, CREATE_METHOD_TABLE(JSTestClassWithJSBuiltinConstructorPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestClassWithJSBuiltinConstructorPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestClassWithJSBuiltinConstructorPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestClassWithJSBuiltinConstructor::s_info = { "TestClassWithJSBuiltinConstructor", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestClassWithJSBuiltinConstructor) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -58,6 +58,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructor<JSTestCustomConstructorWithNoInterfaceObject> JSTestCustomConstructorWithNoInterfaceObjectConstructor;
</span><span class="lines">@@ -84,17 +86,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestCustomConstructorWithNoInterfaceObjectPrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestCustomConstructorWithNoInterfaceObjectPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestCustomConstructorWithNoInterfaceObjectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestCustomConstructorWithNoInterfaceObjectConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestCustomConstructorWithNoInterfaceObjectPrototype::s_info = { "TestCustomConstructorWithNoInterfaceObjectPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestCustomConstructorWithNoInterfaceObjectPrototype) };
</del><ins>+static const HashTable JSTestCustomConstructorWithNoInterfaceObjectPrototypeTable = { 1, 1, true, JSTestCustomConstructorWithNoInterfaceObjectPrototypeTableValues, JSTestCustomConstructorWithNoInterfaceObjectPrototypeTableIndex };
+const ClassInfo JSTestCustomConstructorWithNoInterfaceObjectPrototype::s_info = { "TestCustomConstructorWithNoInterfaceObjectPrototype", &Base::s_info, &JSTestCustomConstructorWithNoInterfaceObjectPrototypeTable, CREATE_METHOD_TABLE(JSTestCustomConstructorWithNoInterfaceObjectPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestCustomConstructorWithNoInterfaceObjectPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestCustomConstructorWithNoInterfaceObjectPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestCustomConstructorWithNoInterfaceObject::s_info = { "TestCustomConstructorWithNoInterfaceObject", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestCustomConstructorWithNoInterfaceObject) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -65,6 +65,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestCustomNamedGetter> JSTestCustomNamedGetterConstructor;
</span><span class="lines">@@ -86,6 +88,14 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestCustomNamedGetterPrototypeTableIndex[4] = {
+ { -1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { 1, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestCustomNamedGetterPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestCustomNamedGetterConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestCustomNamedGetterConstructor) } },
</span><span class="lines">@@ -92,12 +102,13 @@
</span><span class="cx"> { "anotherFunction", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestCustomNamedGetterPrototypeFunctionAnotherFunction), (intptr_t) (1) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestCustomNamedGetterPrototype::s_info = { "TestCustomNamedGetterPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestCustomNamedGetterPrototype) };
</del><ins>+static const HashTable JSTestCustomNamedGetterPrototypeTable = { 2, 3, true, JSTestCustomNamedGetterPrototypeTableValues, JSTestCustomNamedGetterPrototypeTableIndex };
+const ClassInfo JSTestCustomNamedGetterPrototype::s_info = { "TestCustomNamedGetterPrototype", &Base::s_info, &JSTestCustomNamedGetterPrototypeTable, CREATE_METHOD_TABLE(JSTestCustomNamedGetterPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestCustomNamedGetterPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestCustomNamedGetterPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestCustomNamedGetter::s_info = { "TestCustomNamedGetter", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestCustomNamedGetter) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -67,6 +67,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructor<JSTestEventConstructor> JSTestEventConstructorConstructor;
</span><span class="lines">@@ -133,6 +135,19 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestEventConstructorPrototypeTableIndex[9] = {
+ { 3, -1 },
+ { 0, 8 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 2, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestEventConstructorPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestEventConstructorConstructor) } },
</span><span class="lines">@@ -145,12 +160,13 @@
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestEventConstructorPrototype::s_info = { "TestEventConstructorPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestEventConstructorPrototype) };
</del><ins>+static const HashTable JSTestEventConstructorPrototypeTable = { 4, 7, true, JSTestEventConstructorPrototypeTableValues, JSTestEventConstructorPrototypeTableIndex };
+const ClassInfo JSTestEventConstructorPrototype::s_info = { "TestEventConstructorPrototype", &Base::s_info, &JSTestEventConstructorPrototypeTable, CREATE_METHOD_TABLE(JSTestEventConstructorPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestEventConstructorPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestEventConstructorPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestEventConstructor::s_info = { "TestEventConstructor", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestEventConstructor) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -68,6 +68,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestEventTarget> JSTestEventTargetConstructor;
</span><span class="lines">@@ -88,6 +90,14 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestEventTargetPrototypeTableIndex[4] = {
+ { -1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { 1, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestEventTargetPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventTargetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestEventTargetConstructor) } },
</span><span class="lines">@@ -94,12 +104,13 @@
</span><span class="cx"> { "item", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestEventTargetPrototypeFunctionItem), (intptr_t) (1) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestEventTargetPrototype::s_info = { "TestEventTargetPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestEventTargetPrototype) };
</del><ins>+static const HashTable JSTestEventTargetPrototypeTable = { 2, 3, true, JSTestEventTargetPrototypeTableValues, JSTestEventTargetPrototypeTableIndex };
+const ClassInfo JSTestEventTargetPrototype::s_info = { "TestEventTargetPrototype", &Base::s_info, &JSTestEventTargetPrototypeTable, CREATE_METHOD_TABLE(JSTestEventTargetPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestEventTargetPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestEventTargetPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestEventTarget::s_info = { "TestEventTarget", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestEventTarget) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -61,6 +61,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestException> JSTestExceptionConstructor;
</span><span class="lines">@@ -96,17 +98,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestExceptionPrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestExceptionPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestExceptionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestExceptionConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestExceptionPrototype::s_info = { "TestExceptionPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestExceptionPrototype) };
</del><ins>+static const HashTable JSTestExceptionPrototypeTable = { 1, 1, true, JSTestExceptionPrototypeTableValues, JSTestExceptionPrototypeTableIndex };
+const ClassInfo JSTestExceptionPrototype::s_info = { "TestExceptionPrototype", &Base::s_info, &JSTestExceptionPrototypeTable, CREATE_METHOD_TABLE(JSTestExceptionPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestExceptionPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestExceptionPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestException::s_info = { "TestException", &Base::s_info, &JSTestExceptionTable, CREATE_METHOD_TABLE(JSTestException) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -58,6 +58,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestGenerateIsReachable> JSTestGenerateIsReachableConstructor;
</span><span class="lines">@@ -79,17 +81,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestGenerateIsReachablePrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestGenerateIsReachablePrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestGenerateIsReachableConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestGenerateIsReachableConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestGenerateIsReachablePrototype::s_info = { "TestGenerateIsReachablePrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestGenerateIsReachablePrototype) };
</del><ins>+static const HashTable JSTestGenerateIsReachablePrototypeTable = { 1, 1, true, JSTestGenerateIsReachablePrototypeTableValues, JSTestGenerateIsReachablePrototypeTableIndex };
+const ClassInfo JSTestGenerateIsReachablePrototype::s_info = { "TestGenerateIsReachablePrototype", &Base::s_info, &JSTestGenerateIsReachablePrototypeTable, CREATE_METHOD_TABLE(JSTestGenerateIsReachablePrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestGenerateIsReachablePrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestGenerateIsReachablePrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestGenerateIsReachable::s_info = { "TestGenerateIsReachable", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestGenerateIsReachable) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -147,6 +147,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructor<JSTestInterface> JSTestInterfaceConstructor;
</span><span class="lines">@@ -272,6 +274,77 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestInterfacePrototypeTableIndex[67] = {
+ { -1, -1 },
+ { 3, 64 },
+ { 13, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 7, 66 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 20, -1 },
+ { -1, -1 },
+ { 6, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 5, -1 },
+ { -1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { 17, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 14, -1 },
+ { 1, -1 },
+ { 8, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 16, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 10, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 18, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 15, -1 },
+ { 9, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 2, -1 },
+ { 19, -1 },
+ { -1, -1 },
+ { 4, 65 },
+ { 11, -1 },
+ { 12, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestInterfacePrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestInterfaceConstructor) } },
</span><span class="lines">@@ -377,12 +450,13 @@
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestInterfacePrototype::s_info = { "TestInterfacePrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestInterfacePrototype) };
</del><ins>+static const HashTable JSTestInterfacePrototypeTable = { 21, 63, true, JSTestInterfacePrototypeTableValues, JSTestInterfacePrototypeTableIndex };
+const ClassInfo JSTestInterfacePrototype::s_info = { "TestInterfacePrototype", &Base::s_info, &JSTestInterfacePrototypeTable, CREATE_METHOD_TABLE(JSTestInterfacePrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestInterfacePrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestInterfacePrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestInterface::s_info = { "TestInterface", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestInterface) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestJSBuiltinConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -67,6 +67,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSBuiltinConstructor<JSTestJSBuiltinConstructor> JSTestJSBuiltinConstructorConstructor;
</span><span class="lines">@@ -93,6 +95,28 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestJSBuiltinConstructorPrototypeTableIndex[18] = {
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 2, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 0, 17 },
+ { 1, 16 },
+ { -1, -1 },
+ { -1, -1 },
+ { 4, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 3, -1 },
+ { 5, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestJSBuiltinConstructorPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestJSBuiltinConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestJSBuiltinConstructorConstructor) } },
</span><span class="lines">@@ -103,12 +127,13 @@
</span><span class="cx"> { "testCustomFunction", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestJSBuiltinConstructorPrototypeFunctionTestCustomFunction), (intptr_t) (0) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestJSBuiltinConstructorPrototype::s_info = { "TestJSBuiltinConstructorPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestJSBuiltinConstructorPrototype) };
</del><ins>+static const HashTable JSTestJSBuiltinConstructorPrototypeTable = { 6, 15, true, JSTestJSBuiltinConstructorPrototypeTableValues, JSTestJSBuiltinConstructorPrototypeTableIndex };
+const ClassInfo JSTestJSBuiltinConstructorPrototype::s_info = { "TestJSBuiltinConstructorPrototype", &Base::s_info, &JSTestJSBuiltinConstructorPrototypeTable, CREATE_METHOD_TABLE(JSTestJSBuiltinConstructorPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestJSBuiltinConstructorPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestJSBuiltinConstructorPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestJSBuiltinConstructor::s_info = { "TestJSBuiltinConstructor", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestJSBuiltinConstructor) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -65,6 +65,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestMediaQueryListListener> JSTestMediaQueryListListenerConstructor;
</span><span class="lines">@@ -86,6 +88,14 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestMediaQueryListListenerPrototypeTableIndex[4] = {
+ { 1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { -1, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestMediaQueryListListenerPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestMediaQueryListListenerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestMediaQueryListListenerConstructor) } },
</span><span class="lines">@@ -92,12 +102,13 @@
</span><span class="cx"> { "method", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestMediaQueryListListenerPrototypeFunctionMethod), (intptr_t) (1) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestMediaQueryListListenerPrototype::s_info = { "TestMediaQueryListListenerPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestMediaQueryListListenerPrototype) };
</del><ins>+static const HashTable JSTestMediaQueryListListenerPrototypeTable = { 2, 3, true, JSTestMediaQueryListListenerPrototypeTableValues, JSTestMediaQueryListListenerPrototypeTableIndex };
+const ClassInfo JSTestMediaQueryListListenerPrototype::s_info = { "TestMediaQueryListListenerPrototype", &Base::s_info, &JSTestMediaQueryListListenerPrototypeTable, CREATE_METHOD_TABLE(JSTestMediaQueryListListenerPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestMediaQueryListListenerPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestMediaQueryListListenerPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestMediaQueryListListener::s_info = { "TestMediaQueryListListener", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestMediaQueryListListener) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -60,6 +60,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestNamedConstructor> JSTestNamedConstructorConstructor;
</span><span class="lines">@@ -120,17 +122,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestNamedConstructorPrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestNamedConstructorPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNamedConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestNamedConstructorConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestNamedConstructorPrototype::s_info = { "TestNamedConstructorPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNamedConstructorPrototype) };
</del><ins>+static const HashTable JSTestNamedConstructorPrototypeTable = { 1, 1, true, JSTestNamedConstructorPrototypeTableValues, JSTestNamedConstructorPrototypeTableIndex };
+const ClassInfo JSTestNamedConstructorPrototype::s_info = { "TestNamedConstructorPrototype", &Base::s_info, &JSTestNamedConstructorPrototypeTable, CREATE_METHOD_TABLE(JSTestNamedConstructorPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestNamedConstructorPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestNamedConstructorPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestNamedConstructor::s_info = { "TestNamedConstructor", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNamedConstructor) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -72,6 +72,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructor<JSTestNode> JSTestNodeConstructor;
</span><span class="lines">@@ -99,6 +101,28 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestNodePrototypeTableIndex[18] = {
+ { 4, -1 },
+ { -1, -1 },
+ { 3, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 5, -1 },
+ { -1, -1 },
+ { 0, 16 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 1, 17 },
+ { 2, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestNodePrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestNodeConstructor) } },
</span><span class="lines">@@ -109,12 +133,13 @@
</span><span class="cx"> { "forEach", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestNodePrototypeFunctionForEach), (intptr_t) (1) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestNodePrototype::s_info = { "TestNodePrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNodePrototype) };
</del><ins>+static const HashTable JSTestNodePrototypeTable = { 6, 15, true, JSTestNodePrototypeTableValues, JSTestNodePrototypeTableIndex };
+const ClassInfo JSTestNodePrototype::s_info = { "TestNodePrototype", &Base::s_info, &JSTestNodePrototypeTable, CREATE_METHOD_TABLE(JSTestNodePrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestNodePrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestNodePrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> putDirect(vm, vm.propertyNames->iteratorSymbol, JSFunction::create(vm, globalObject(), 0, ASCIILiteral("[Symbol.Iterator]"), jsTestNodePrototypeFunctionSymbolIterator), ReadOnly | DontEnum);
</span><span class="cx"> }
</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 (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -81,6 +81,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestNondeterministic> JSTestNondeterministicConstructor;
</span><span class="lines">@@ -102,6 +104,27 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestNondeterministicPrototypeTableIndex[17] = {
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 3, -1 },
+ { -1, -1 },
+ { 6, -1 },
+ { -1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { 1, 16 },
+ { -1, -1 },
+ { -1, -1 },
+ { 2, -1 },
+ { 5, -1 },
+ { 4, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestNondeterministicPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNondeterministicConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestNondeterministicConstructor) } },
</span><span class="lines">@@ -113,12 +136,13 @@
</span><span class="cx"> { "nondeterministicZeroArgFunction", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestNondeterministicPrototypeFunctionNondeterministicZeroArgFunction), (intptr_t) (0) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestNondeterministicPrototype::s_info = { "TestNondeterministicPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNondeterministicPrototype) };
</del><ins>+static const HashTable JSTestNondeterministicPrototypeTable = { 7, 15, true, JSTestNondeterministicPrototypeTableValues, JSTestNondeterministicPrototypeTableIndex };
+const ClassInfo JSTestNondeterministicPrototype::s_info = { "TestNondeterministicPrototype", &Base::s_info, &JSTestNondeterministicPrototypeTable, CREATE_METHOD_TABLE(JSTestNondeterministicPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestNondeterministicPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestNondeterministicPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestNondeterministic::s_info = { "TestNondeterministic", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNondeterministic) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -904,6 +904,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructor<JSTestObj> JSTestObjConstructor;
</span><span class="lines">@@ -1042,6 +1044,562 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestObjPrototypeTableIndex[552] = {
+ { 30, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 78, -1 },
+ { 28, -1 },
+ { -1, -1 },
+ { 93, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 65, -1 },
+ { -1, -1 },
+ { 138, -1 },
+ { -1, -1 },
+ { 21, 513 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 63, -1 },
+ { 203, -1 },
+ { 187, -1 },
+ { 56, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 140, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 115, -1 },
+ { -1, -1 },
+ { 129, -1 },
+ { -1, -1 },
+ { 79, -1 },
+ { 20, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 132, 533 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 149, -1 },
+ { 34, 525 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 170, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 114, -1 },
+ { 113, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 4, -1 },
+ { -1, -1 },
+ { 22, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 5, -1 },
+ { 178, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 69, -1 },
+ { 47, 548 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 106, -1 },
+ { 97, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 46, -1 },
+ { -1, -1 },
+ { 71, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 9, -1 },
+ { 164, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 90, -1 },
+ { -1, -1 },
+ { 157, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 84, -1 },
+ { 200, -1 },
+ { -1, -1 },
+ { 31, 530 },
+ { -1, -1 },
+ { -1, -1 },
+ { 27, 521 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 184, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 131, 547 },
+ { 109, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 153, -1 },
+ { -1, -1 },
+ { 6, -1 },
+ { 130, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 94, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 1, -1 },
+ { -1, -1 },
+ { 144, -1 },
+ { 48, -1 },
+ { 67, -1 },
+ { -1, -1 },
+ { 201, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 39, -1 },
+ { 124, 532 },
+ { -1, -1 },
+ { 103, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 171, -1 },
+ { 163, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 202, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 73, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 145, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 29, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 156, -1 },
+ { 142, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 125, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 180, 545 },
+ { 99, 541 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 91, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 88, 529 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 3, -1 },
+ { -1, -1 },
+ { 33, -1 },
+ { -1, -1 },
+ { 61, -1 },
+ { -1, -1 },
+ { 83, 522 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 51, 538 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 10, 512 },
+ { -1, -1 },
+ { 174, -1 },
+ { -1, -1 },
+ { 75, 543 },
+ { 179, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 118, 549 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 175, -1 },
+ { -1, -1 },
+ { 116, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 104, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 54, 517 },
+ { -1, -1 },
+ { -1, -1 },
+ { 152, -1 },
+ { 100, -1 },
+ { 161, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 49, -1 },
+ { 182, -1 },
+ { 23, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 192, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 158, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 117, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 172, -1 },
+ { 167, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 32, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 185, -1 },
+ { -1, -1 },
+ { 82, 535 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 43, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 58, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 41, 539 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 14, -1 },
+ { -1, -1 },
+ { 76, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { 112, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 44, -1 },
+ { 36, 527 },
+ { -1, -1 },
+ { -1, -1 },
+ { 143, 542 },
+ { -1, -1 },
+ { 50, 546 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 196, 550 },
+ { 17, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 98, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 62, 524 },
+ { 86, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 60, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 18, 514 },
+ { -1, -1 },
+ { 193, -1 },
+ { -1, -1 },
+ { 2, 519 },
+ { -1, -1 },
+ { 66, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 108, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 35, -1 },
+ { -1, -1 },
+ { 8, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 53, 526 },
+ { 190, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 74, -1 },
+ { 198, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 122, 540 },
+ { -1, -1 },
+ { 127, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 136, -1 },
+ { 19, -1 },
+ { 25, 544 },
+ { 137, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 133, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 101, -1 },
+ { 181, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 148, -1 },
+ { -1, -1 },
+ { 16, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 96, -1 },
+ { -1, -1 },
+ { 159, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 40, -1 },
+ { -1, -1 },
+ { 85, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 191, -1 },
+ { 68, -1 },
+ { -1, -1 },
+ { 80, -1 },
+ { 176, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 70, 518 },
+ { -1, -1 },
+ { -1, -1 },
+ { 11, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 120, 528 },
+ { 37, -1 },
+ { -1, -1 },
+ { 123, -1 },
+ { 52, 536 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 59, -1 },
+ { -1, -1 },
+ { 188, -1 },
+ { -1, -1 },
+ { 105, -1 },
+ { -1, -1 },
+ { 38, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 24, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 15, 516 },
+ { 55, -1 },
+ { 119, 534 },
+ { -1, -1 },
+ { 7, 537 },
+ { -1, -1 },
+ { -1, -1 },
+ { 121, -1 },
+ { 81, 523 },
+ { -1, -1 },
+ { 166, -1 },
+ { 89, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 160, -1 },
+ { -1, -1 },
+ { 12, 520 },
+ { 13, 515 },
+ { 26, -1 },
+ { 42, 551 },
+ { 45, 531 },
+ { 57, -1 },
+ { 64, -1 },
+ { 72, -1 },
+ { 77, -1 },
+ { 87, -1 },
+ { 92, -1 },
+ { 95, -1 },
+ { 102, -1 },
+ { 107, -1 },
+ { 110, -1 },
+ { 111, -1 },
+ { 126, -1 },
+ { 128, -1 },
+ { 134, -1 },
+ { 135, -1 },
+ { 139, -1 },
+ { 141, -1 },
+ { 146, -1 },
+ { 147, -1 },
+ { 150, -1 },
+ { 151, -1 },
+ { 154, -1 },
+ { 155, -1 },
+ { 162, -1 },
+ { 165, -1 },
+ { 168, -1 },
+ { 169, -1 },
+ { 173, -1 },
+ { 177, -1 },
+ { 183, -1 },
+ { 186, -1 },
+ { 189, -1 },
+ { 194, -1 },
+ { 195, -1 },
+ { 197, -1 },
+ { 199, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestObjPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjConstructor) } },
</span><span class="lines">@@ -1302,12 +1860,13 @@
</span><span class="cx"> { "readonly", DontDelete | ReadOnly | ConstantInteger, NoIntrinsic, { (long long)(0) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestObjPrototype::s_info = { "TestObjectPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestObjPrototype) };
</del><ins>+static const HashTable JSTestObjPrototypeTable = { 204, 511, true, JSTestObjPrototypeTableValues, JSTestObjPrototypeTableIndex };
+const ClassInfo JSTestObjPrototype::s_info = { "TestObjectPrototype", &Base::s_info, &JSTestObjPrototypeTable, CREATE_METHOD_TABLE(JSTestObjPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestObjPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestObjPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> #if ENABLE(TEST_FEATURE)
</span><span class="cx"> if (!RuntimeEnabledFeatures::sharedFeatures().testFeatureEnabled()) {
</span><span class="cx"> Identifier propertyName = Identifier::fromString(&vm, reinterpret_cast<const LChar*>("enabledAtRuntimeOperation"), strlen("enabledAtRuntimeOperation"));
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -61,6 +61,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructor<JSTestOverloadedConstructors> JSTestOverloadedConstructorsConstructor;
</span><span class="lines">@@ -163,17 +165,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestOverloadedConstructorsPrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestOverloadedConstructorsPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestOverloadedConstructorsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestOverloadedConstructorsConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestOverloadedConstructorsPrototype::s_info = { "TestOverloadedConstructorsPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestOverloadedConstructorsPrototype) };
</del><ins>+static const HashTable JSTestOverloadedConstructorsPrototypeTable = { 1, 1, true, JSTestOverloadedConstructorsPrototypeTableValues, JSTestOverloadedConstructorsPrototypeTableIndex };
+const ClassInfo JSTestOverloadedConstructorsPrototype::s_info = { "TestOverloadedConstructorsPrototype", &Base::s_info, &JSTestOverloadedConstructorsPrototypeTable, CREATE_METHOD_TABLE(JSTestOverloadedConstructorsPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestOverloadedConstructorsPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestOverloadedConstructorsPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestOverloadedConstructors::s_info = { "TestOverloadedConstructors", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestOverloadedConstructors) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -67,6 +67,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestOverrideBuiltins> JSTestOverrideBuiltinsConstructor;
</span><span class="lines">@@ -88,6 +90,14 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestOverrideBuiltinsPrototypeTableIndex[4] = {
+ { -1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { 1, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestOverrideBuiltinsPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestOverrideBuiltinsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestOverrideBuiltinsConstructor) } },
</span><span class="lines">@@ -94,12 +104,13 @@
</span><span class="cx"> { "namedItem", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestOverrideBuiltinsPrototypeFunctionNamedItem), (intptr_t) (0) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestOverrideBuiltinsPrototype::s_info = { "TestOverrideBuiltinsPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestOverrideBuiltinsPrototype) };
</del><ins>+static const HashTable JSTestOverrideBuiltinsPrototypeTable = { 2, 3, true, JSTestOverrideBuiltinsPrototypeTableValues, JSTestOverrideBuiltinsPrototypeTableIndex };
+const ClassInfo JSTestOverrideBuiltinsPrototype::s_info = { "TestOverrideBuiltinsPrototype", &Base::s_info, &JSTestOverrideBuiltinsPrototypeTable, CREATE_METHOD_TABLE(JSTestOverrideBuiltinsPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestOverrideBuiltinsPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestOverrideBuiltinsPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestOverrideBuiltins::s_info = { "TestOverrideBuiltins", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestOverrideBuiltins) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -71,6 +71,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSTestSerializedScriptValueInterface> JSTestSerializedScriptValueInterfaceConstructor;
</span><span class="lines">@@ -92,6 +94,27 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestSerializedScriptValueInterfacePrototypeTableIndex[17] = {
+ { -1, -1 },
+ { -1, -1 },
+ { 3, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 2, 16 },
+ { -1, -1 },
+ { 4, -1 },
+ { -1, -1 },
+ { 0, -1 },
+ { -1, -1 },
+ { 1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 5, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestSerializedScriptValueInterfacePrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestSerializedScriptValueInterfaceConstructor) } },
</span><span class="lines">@@ -102,12 +125,13 @@
</span><span class="cx"> { "cachedReadonlyValue", ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceCachedReadonlyValue), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestSerializedScriptValueInterfacePrototype::s_info = { "TestSerializedScriptValueInterfacePrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestSerializedScriptValueInterfacePrototype) };
</del><ins>+static const HashTable JSTestSerializedScriptValueInterfacePrototypeTable = { 6, 15, true, JSTestSerializedScriptValueInterfacePrototypeTableValues, JSTestSerializedScriptValueInterfacePrototypeTableIndex };
+const ClassInfo JSTestSerializedScriptValueInterfacePrototype::s_info = { "TestSerializedScriptValueInterfacePrototype", &Base::s_info, &JSTestSerializedScriptValueInterfacePrototypeTable, CREATE_METHOD_TABLE(JSTestSerializedScriptValueInterfacePrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestSerializedScriptValueInterfacePrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestSerializedScriptValueInterfacePrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestSerializedScriptValueInterface::s_info = { "TestSerializedScriptValueInterface", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestSerializedScriptValueInterface) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -99,6 +99,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructor<JSTestTypedefs> JSTestTypedefsConstructor;
</span><span class="lines">@@ -157,6 +159,76 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSTestTypedefsPrototypeTableIndex[66] = {
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 9, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 16, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 2, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 0, 64 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 11, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 5, -1 },
+ { -1, -1 },
+ { 8, -1 },
+ { -1, -1 },
+ { 12, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 15, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 14, -1 },
+ { -1, -1 },
+ { 1, -1 },
+ { 3, -1 },
+ { 4, 65 },
+ { -1, -1 },
+ { -1, -1 },
+ { 10, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 13, -1 },
+ { -1, -1 },
+ { -1, -1 },
+ { 6, -1 },
+ { 7, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSTestTypedefsPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestTypedefsConstructor) } },
</span><span class="lines">@@ -178,12 +250,13 @@
</span><span class="cx"> { "methodWithException", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestTypedefsPrototypeFunctionMethodWithException), (intptr_t) (0) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSTestTypedefsPrototype::s_info = { "TestTypedefsPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSTestTypedefsPrototype) };
</del><ins>+static const HashTable JSTestTypedefsPrototypeTable = { 17, 63, true, JSTestTypedefsPrototypeTableValues, JSTestTypedefsPrototypeTableIndex };
+const ClassInfo JSTestTypedefsPrototype::s_info = { "TestTypedefsPrototype", &Base::s_info, &JSTestTypedefsPrototypeTable, CREATE_METHOD_TABLE(JSTestTypedefsPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSTestTypedefsPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSTestTypedefsPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSTestTypedefs::s_info = { "TestTypedefs", &Base::s_info, &JSTestTypedefsTable, CREATE_METHOD_TABLE(JSTestTypedefs) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -61,6 +61,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSattribute> JSattributeConstructor;
</span><span class="lines">@@ -96,17 +98,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSattributePrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSattributePrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsattributeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSattributeConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSattributePrototype::s_info = { "attributePrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSattributePrototype) };
</del><ins>+static const HashTable JSattributePrototypeTable = { 1, 1, true, JSattributePrototypeTableValues, JSattributePrototypeTableIndex };
+const ClassInfo JSattributePrototype::s_info = { "attributePrototype", &Base::s_info, &JSattributePrototypeTable, CREATE_METHOD_TABLE(JSattributePrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSattributePrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSattributePrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSattribute::s_info = { "attribute", &Base::s_info, &JSattributeTable, CREATE_METHOD_TABLE(JSattribute) };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (202267 => 202268)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2016-06-21 04:51:49 UTC (rev 202267)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2016-06-21 04:56:23 UTC (rev 202268)
</span><span class="lines">@@ -58,6 +58,8 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void finishCreation(JSC::VM&);
</span><ins>+public:
+ static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> typedef JSDOMConstructorNotConstructable<JSreadonly> JSreadonlyConstructor;
</span><span class="lines">@@ -79,17 +81,24 @@
</span><span class="cx">
</span><span class="cx"> /* Hash table for prototype */
</span><span class="cx">
</span><ins>+static const struct CompactHashIndex JSreadonlyPrototypeTableIndex[2] = {
+ { -1, -1 },
+ { 0, -1 },
+};
+
+
</ins><span class="cx"> static const HashTableValue JSreadonlyPrototypeTableValues[] =
</span><span class="cx"> {
</span><span class="cx"> { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsreadonlyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSreadonlyConstructor) } },
</span><span class="cx"> };
</span><span class="cx">
</span><del>-const ClassInfo JSreadonlyPrototype::s_info = { "readonlyPrototype", &Base::s_info, 0, CREATE_METHOD_TABLE(JSreadonlyPrototype) };
</del><ins>+static const HashTable JSreadonlyPrototypeTable = { 1, 1, true, JSreadonlyPrototypeTableValues, JSreadonlyPrototypeTableIndex };
+const ClassInfo JSreadonlyPrototype::s_info = { "readonlyPrototype", &Base::s_info, &JSreadonlyPrototypeTable, CREATE_METHOD_TABLE(JSreadonlyPrototype) };
</ins><span class="cx">
</span><span class="cx"> void JSreadonlyPrototype::finishCreation(VM& vm)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm);
</span><del>- reifyStaticProperties(vm, JSreadonlyPrototypeTableValues, *this);
</del><ins>+ convertToDictionary(vm);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const ClassInfo JSreadonly::s_info = { "readonly", &Base::s_info, 0, CREATE_METHOD_TABLE(JSreadonly) };
</span></span></pre>
</div>
</div>
</body>
</html>