Changeset 192024 in webkit


Ignore:
Timestamp:
Nov 4, 2015 10:09:18 AM (9 years ago)
Author:
calvaris@igalia.com
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.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r192008 r192024  
     12015-11-04  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        Remove bogus global internal functions for properties and prototype retrieval
     4        https://bugs.webkit.org/show_bug.cgi?id=150892
     5
     6        Reviewed by Darin Adler.
     7
     8        Global @getOwnPropertyNames and @getPrototypeOf point to the floor function, so it is bogus dead code.
     9
     10        * runtime/JSGlobalObject.cpp:
     11        (JSC::JSGlobalObject::init): Removed global @getOwnPropertyNames and @getPrototypeOf.
     12
    1132015-11-03  Benjamin Poulain  <bpoulain@apple.com>
    214
  • trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp

    r191335 r192024  
    527527        GlobalPropertyInfo(vm.propertyNames->absPrivateName, privateFuncAbs, DontEnum | DontDelete | ReadOnly),
    528528        GlobalPropertyInfo(vm.propertyNames->floorPrivateName, privateFuncFloor, DontEnum | DontDelete | ReadOnly),
    529         GlobalPropertyInfo(vm.propertyNames->getPrototypeOfPrivateName, privateFuncFloor, DontEnum | DontDelete | ReadOnly),
    530         GlobalPropertyInfo(vm.propertyNames->getOwnPropertyNamesPrivateName, privateFuncFloor, DontEnum | DontDelete | ReadOnly),
    531529        GlobalPropertyInfo(vm.propertyNames->isFinitePrivateName, privateFuncIsFinite, DontEnum | DontDelete | ReadOnly),
    532530        GlobalPropertyInfo(vm.propertyNames->arrayIterationKindKeyPrivateName, jsNumber(ArrayIterateKey), DontEnum | DontDelete | ReadOnly),
Note: See TracChangeset for help on using the changeset viewer.