Title: [139488] trunk/Source/_javascript_Core
Revision
139488
Author
[email protected]
Date
2013-01-11 13:09:29 -0800 (Fri, 11 Jan 2013)

Log Message

Removed an unused version of getDirectLocation
https://bugs.webkit.org/show_bug.cgi?id=106691

Reviewed by Gavin Barraclough.

getDirectLocation is a weird operation. Removing the unused version is
the easy part.

* runtime/JSObject.h:
(JSObject):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (139487 => 139488)


--- trunk/Source/_javascript_Core/ChangeLog	2013-01-11 21:08:47 UTC (rev 139487)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-01-11 21:09:29 UTC (rev 139488)
@@ -1,3 +1,16 @@
+2013-01-11  Geoffrey Garen  <[email protected]>
+
+        Removed an unused version of getDirectLocation
+        https://bugs.webkit.org/show_bug.cgi?id=106691
+
+        Reviewed by Gavin Barraclough.
+
+        getDirectLocation is a weird operation. Removing the unused version is
+        the easy part.
+
+        * runtime/JSObject.h:
+        (JSObject):
+
 2013-01-11  Mark Hahnenberg  <[email protected]>
 
         Objective-C objects that are passed to _javascript_ leak (until the JSContext is destroyed)

Modified: trunk/Source/_javascript_Core/runtime/JSObject.h (139487 => 139488)


--- trunk/Source/_javascript_Core/runtime/JSObject.h	2013-01-11 21:08:47 UTC (rev 139487)
+++ trunk/Source/_javascript_Core/runtime/JSObject.h	2013-01-11 21:09:29 UTC (rev 139488)
@@ -515,13 +515,6 @@
         return isValidOffset(offset) ? locationForOffset(offset) : 0;
     }
 
-    WriteBarrierBase<Unknown>* getDirectLocation(JSGlobalData& globalData, PropertyName propertyName, unsigned& attributes)
-    {
-        JSCell* specificFunction;
-        PropertyOffset offset = structure()->get(globalData, propertyName, attributes, specificFunction);
-        return isValidOffset(offset) ? locationForOffset(offset) : 0;
-    }
-
     bool hasInlineStorage() const { return structure()->hasInlineStorage(); }
     ConstPropertyStorage inlineStorageUnsafe() const
     {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to