Title: [192024] trunk/Source/_javascript_Core
Revision
192024
Author
calva...@igalia.com
Date
2015-11-04 10:09:18 -0800 (Wed, 04 Nov 2015)

Log Message

Remove bogus global internal functions for properties and prototype retrieval
https://bugs.webkit.org/show_bug.cgi?id=150892

Reviewed by Darin Adler.

Global @getOwnPropertyNames and @getPrototypeOf point to the floor function, so it is bogus dead code.

* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init): Removed global @getOwnPropertyNames and @getPrototypeOf.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (192023 => 192024)


--- trunk/Source/_javascript_Core/ChangeLog	2015-11-04 17:49:46 UTC (rev 192023)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-11-04 18:09:18 UTC (rev 192024)
@@ -1,3 +1,15 @@
+2015-11-04  Xabier Rodriguez Calvar  <calva...@igalia.com>
+
+        Remove bogus global internal functions for properties and prototype retrieval
+        https://bugs.webkit.org/show_bug.cgi?id=150892
+
+        Reviewed by Darin Adler.
+
+        Global @getOwnPropertyNames and @getPrototypeOf point to the floor function, so it is bogus dead code.
+
+        * runtime/JSGlobalObject.cpp:
+        (JSC::JSGlobalObject::init): Removed global @getOwnPropertyNames and @getPrototypeOf.
+
 2015-11-03  Benjamin Poulain  <bpoul...@apple.com>
 
         [JSC] Add B3-to-Air lowering for BitXor

Modified: trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp (192023 => 192024)


--- trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2015-11-04 17:49:46 UTC (rev 192023)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2015-11-04 18:09:18 UTC (rev 192024)
@@ -526,8 +526,6 @@
         GlobalPropertyInfo(vm.propertyNames->StringPrivateName, stringConstructor, DontEnum | DontDelete | ReadOnly),
         GlobalPropertyInfo(vm.propertyNames->absPrivateName, privateFuncAbs, DontEnum | DontDelete | ReadOnly),
         GlobalPropertyInfo(vm.propertyNames->floorPrivateName, privateFuncFloor, DontEnum | DontDelete | ReadOnly),
-        GlobalPropertyInfo(vm.propertyNames->getPrototypeOfPrivateName, privateFuncFloor, DontEnum | DontDelete | ReadOnly),
-        GlobalPropertyInfo(vm.propertyNames->getOwnPropertyNamesPrivateName, privateFuncFloor, DontEnum | DontDelete | ReadOnly),
         GlobalPropertyInfo(vm.propertyNames->isFinitePrivateName, privateFuncIsFinite, DontEnum | DontDelete | ReadOnly),
         GlobalPropertyInfo(vm.propertyNames->arrayIterationKindKeyPrivateName, jsNumber(ArrayIterateKey), DontEnum | DontDelete | ReadOnly),
         GlobalPropertyInfo(vm.propertyNames->arrayIterationKindValuePrivateName, jsNumber(ArrayIterateValue), DontEnum | DontDelete | ReadOnly),
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to