Title: [96755] trunk/Source/_javascript_Core
Revision
96755
Author
oli...@apple.com
Date
2011-10-05 14:57:16 -0700 (Wed, 05 Oct 2011)

Log Message

2011-10-05  Oliver Hunt  <oli...@apple.com>

        Remove last vestiges of anonymous storage.

        Reviewed by Gavin Barraclough.

        One anonymous storage function escaped my prior purge of
        this feature, this patch removes it.

        * runtime/JSGlobalObject.h:
        (JSC::JSGlobalObject::finishCreation):
        * runtime/JSObject.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (96754 => 96755)


--- trunk/Source/_javascript_Core/ChangeLog	2011-10-05 21:48:36 UTC (rev 96754)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-10-05 21:57:16 UTC (rev 96755)
@@ -1,3 +1,16 @@
+2011-10-05  Oliver Hunt  <oli...@apple.com>
+
+        Remove last vestiges of anonymous storage.
+
+        Reviewed by Gavin Barraclough.
+
+        One anonymous storage function escaped my prior purge of
+        this feature, this patch removes it.
+
+        * runtime/JSGlobalObject.h:
+        (JSC::JSGlobalObject::finishCreation):
+        * runtime/JSObject.h:
+
 2011-10-04  Filip Pizlo  <fpi...@apple.com>
 
         DFG should be capable of a broader range of speculations on branch and not

Modified: trunk/Source/_javascript_Core/runtime/JSGlobalObject.h (96754 => 96755)


--- trunk/Source/_javascript_Core/runtime/JSGlobalObject.h	2011-10-05 21:48:36 UTC (rev 96754)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalObject.h	2011-10-05 21:57:16 UTC (rev 96755)
@@ -168,7 +168,6 @@
         {
             Base::finishCreation(globalData);
             structure()->setGlobalObject(globalData, this);
-            putThisToAnonymousValue(0);
             init(thisValue);
         }
 

Modified: trunk/Source/_javascript_Core/runtime/JSObject.h (96754 => 96755)


--- trunk/Source/_javascript_Core/runtime/JSObject.h	2011-10-05 21:48:36 UTC (rev 96754)
+++ trunk/Source/_javascript_Core/runtime/JSObject.h	2011-10-05 21:57:16 UTC (rev 96755)
@@ -251,11 +251,6 @@
 
         static const unsigned StructureFlags = 0;
 
-        void putThisToAnonymousValue(unsigned index)
-        {
-            locationForOffset(index)->setWithoutWriteBarrier(this);
-        }
-
         // To instantiate objects you likely want JSFinalObject, below.
         // To create derived types you likely want JSNonFinalObject, below.
         JSObject(JSGlobalData&, Structure*, PropertyStorage inlineStorage);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to