Title: [97892] trunk/Source
- Revision
- 97892
- Author
- [email protected]
- Date
- 2011-10-19 16:27:47 -0700 (Wed, 19 Oct 2011)
Log Message
Add getConstructData to the MethodTable
https://bugs.webkit.org/show_bug.cgi?id=70163
Reviewed by Geoffrey Garen.
Source/_javascript_Core:
Adding getConstructData to the MethodTable in order to be able to
remove all calls to getConstructDataVirtual soon. Part of the process
of de-virtualizing JSCell.
* _javascript_Core.exp:
* _javascript_Core.vcproj/_javascript_Core/_javascript_Core.def:
* runtime/ClassInfo.h:
Source/WebCore:
No new tests.
Adding getConstructData to the MethodTable in order to be able to
remove all calls to getConstructDataVirtual soon. Part of the process
of de-virtualizing JSCell.
* WebCore.exp.in:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (97891 => 97892)
--- trunk/Source/_javascript_Core/ChangeLog 2011-10-19 23:25:12 UTC (rev 97891)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-10-19 23:27:47 UTC (rev 97892)
@@ -1,3 +1,18 @@
+2011-10-19 Mark Hahnenberg <[email protected]>
+
+ Add getConstructData to the MethodTable
+ https://bugs.webkit.org/show_bug.cgi?id=70163
+
+ Reviewed by Geoffrey Garen.
+
+ Adding getConstructData to the MethodTable in order to be able to
+ remove all calls to getConstructDataVirtual soon. Part of the process
+ of de-virtualizing JSCell.
+
+ * _javascript_Core.exp:
+ * _javascript_Core.vcproj/_javascript_Core/_javascript_Core.def:
+ * runtime/ClassInfo.h:
+
2011-10-18 Oliver Hunt <[email protected]>
Support CanvasPixelArray in the DFG
Modified: trunk/Source/_javascript_Core/_javascript_Core.exp (97891 => 97892)
--- trunk/Source/_javascript_Core/_javascript_Core.exp 2011-10-19 23:25:12 UTC (rev 97891)
+++ trunk/Source/_javascript_Core/_javascript_Core.exp 2011-10-19 23:27:47 UTC (rev 97892)
@@ -259,6 +259,7 @@
__ZN3JSC6JSCell10putVirtualEPNS_9ExecStateERKNS_10IdentifierENS_7JSValueERNS_15PutPropertySlotE
__ZN3JSC6JSCell10putVirtualEPNS_9ExecStateEjNS_7JSValueE
__ZN3JSC6JSCell11getCallDataEPS0_RNS_8CallDataE
+__ZN3JSC6JSCell16getConstructDataEPS0_RNS_13ConstructDataE
__ZN3JSC6JSCell21deletePropertyVirtualEPNS_9ExecStateERKNS_10IdentifierE
__ZN3JSC6JSCell21deletePropertyVirtualEPNS_9ExecStateEj
__ZN3JSC6JSCell23getConstructDataVirtualERNS_13ConstructDataE
Modified: trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core/_javascript_Core.def (97891 => 97892)
--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core/_javascript_Core.def 2011-10-19 23:25:12 UTC (rev 97891)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core/_javascript_Core.def 2011-10-19 23:27:47 UTC (rev 97892)
@@ -192,6 +192,7 @@
?get@Structure@JSC@@QAEIAAVJSGlobalData@2@ABVIdentifier@2@AAIAAPAVJSCell@2@@Z
?get@Structure@JSC@@QAEIAAVJSGlobalData@2@PAVStringImpl@WTF@@AAIAAPAVJSCell@2@@Z
?getCallData@JSCell@JSC@@SA?AW4CallType@2@PAV12@AATCallData@2@@Z
+ ?getConstructData@JSCell@JSC@@SA?AW4ConstructType@2@PAV12@AATConstructData@2@@Z
?getConstructDataVirtual@JSCell@JSC@@UAE?AW4ConstructType@2@AATConstructData@2@@Z
?getObject@JSCell@JSC@@QAEPAVJSObject@2@XZ
?getOwnPropertyDescriptor@JSGlobalObject@JSC@@UAE_NPAVExecState@2@ABVIdentifier@2@AAVPropertyDescriptor@2@@Z
Modified: trunk/Source/_javascript_Core/runtime/ClassInfo.h (97891 => 97892)
--- trunk/Source/_javascript_Core/runtime/ClassInfo.h 2011-10-19 23:25:12 UTC (rev 97891)
+++ trunk/Source/_javascript_Core/runtime/ClassInfo.h 2011-10-19 23:27:47 UTC (rev 97892)
@@ -24,6 +24,7 @@
#define ClassInfo_h
#include "CallFrame.h"
+#include "ConstructData.h"
namespace JSC {
@@ -36,11 +37,15 @@
typedef CallType (*GetCallDataFunctionPtr)(JSCell*, CallData&);
GetCallDataFunctionPtr getCallData;
+
+ typedef ConstructType (*GetConstructDataFunctionPtr)(JSCell*, ConstructData&);
+ GetConstructDataFunctionPtr getConstructData;
};
#define CREATE_METHOD_TABLE(ClassName) { \
&ClassName::visitChildren, \
- &ClassName::getCallData \
+ &ClassName::getCallData, \
+ &ClassName::getConstructData, \
}, \
sizeof(ClassName)
Modified: trunk/Source/WebCore/ChangeLog (97891 => 97892)
--- trunk/Source/WebCore/ChangeLog 2011-10-19 23:25:12 UTC (rev 97891)
+++ trunk/Source/WebCore/ChangeLog 2011-10-19 23:27:47 UTC (rev 97892)
@@ -1,3 +1,18 @@
+2011-10-19 Mark Hahnenberg <[email protected]>
+
+ Add getConstructData to the MethodTable
+ https://bugs.webkit.org/show_bug.cgi?id=70163
+
+ Reviewed by Geoffrey Garen.
+
+ No new tests.
+
+ Adding getConstructData to the MethodTable in order to be able to
+ remove all calls to getConstructDataVirtual soon. Part of the process
+ of de-virtualizing JSCell.
+
+ * WebCore.exp.in:
+
2011-10-19 Dan Bernstein <[email protected]>
Incorrect pagination in flipped-blocks writing modes with border/padding before
Modified: trunk/Source/WebCore/WebCore.exp.in (97891 => 97892)
--- trunk/Source/WebCore/WebCore.exp.in 2011-10-19 23:25:12 UTC (rev 97891)
+++ trunk/Source/WebCore/WebCore.exp.in 2011-10-19 23:27:47 UTC (rev 97892)
@@ -1700,6 +1700,7 @@
__ZN3JSC8Bindings13RuntimeObject10putVirtualEPNS_9ExecStateERKNS_10IdentifierENS_7JSValueERNS_15PutPropertySlotE
__ZN3JSC8Bindings13RuntimeObject11getCallDataEPNS_6JSCellERNS_8CallDataE
__ZN3JSC8Bindings13RuntimeObject14finishCreationEPNS_14JSGlobalObjectE
+__ZN3JSC8Bindings13RuntimeObject16getConstructDataEPNS_6JSCellERNS_13ConstructDataE
__ZN3JSC8Bindings13RuntimeObject18getOwnPropertySlotEPNS_6JSCellEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE
__ZN3JSC8Bindings13RuntimeObject19getOwnPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayENS_15EnumerationModeE
__ZN3JSC8Bindings13RuntimeObject23getConstructDataVirtualERNS_13ConstructDataE
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes