Ignore:
Timestamp:
Oct 7, 2011, 11:37:45 PM (14 years ago)
Author:
[email protected]
Message:

Add static version of JSCell::deleteProperty
https://bugs.webkit.org/show_bug.cgi?id=69659

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Added static version of both versions of put to all classes that
override them and changed the virtual versions to call the static
versions. This is the first step in de-virtualizing JSCell::deleteProperty.

  • API/JSCallbackObject.h:
  • API/JSCallbackObjectFunctions.h:

(JSC::::deleteProperty):

  • debugger/DebuggerActivation.cpp:

(JSC::DebuggerActivation::deleteProperty):

  • debugger/DebuggerActivation.h:
  • runtime/Arguments.cpp:

(JSC::Arguments::deleteProperty):

  • runtime/Arguments.h:
  • runtime/JSActivation.cpp:

(JSC::JSActivation::deleteProperty):

  • runtime/JSActivation.h:
  • runtime/JSArray.cpp:

(JSC::JSArray::deleteProperty):

  • runtime/JSArray.h:
  • runtime/JSCell.cpp:

(JSC::JSCell::deleteProperty):

  • runtime/JSCell.h:
  • runtime/JSFunction.cpp:

(JSC::JSFunction::deleteProperty):

  • runtime/JSFunction.h:
  • runtime/JSNotAnObject.cpp:

(JSC::JSNotAnObject::deleteProperty):

  • runtime/JSNotAnObject.h:
  • runtime/JSObject.cpp:

(JSC::JSObject::deleteProperty):

  • runtime/JSObject.h:
  • runtime/JSVariableObject.cpp:

(JSC::JSVariableObject::deleteProperty):

  • runtime/JSVariableObject.h:
  • runtime/RegExpMatchesArray.h:

(JSC::RegExpMatchesArray::deleteProperty):

  • runtime/StrictEvalActivation.cpp:

(JSC::StrictEvalActivation::deleteProperty):

  • runtime/StrictEvalActivation.h:
  • runtime/StringObject.cpp:

(JSC::StringObject::deleteProperty):

  • runtime/StringObject.h:

Source/WebCore:

No new tests.

Added static version of both versions of put to all classes that
override them and changed the virtual versions to call the static
versions. This is the first step in de-virtualizing JSCell::deleteProperty.

  • bridge/objc/objc_runtime.h:
  • bridge/objc/objc_runtime.mm:

(JSC::Bindings::ObjcFallbackObjectImp::deleteProperty):

  • bridge/runtime_array.cpp:

(JSC::RuntimeArray::deleteProperty):

  • bridge/runtime_array.h:
  • bridge/runtime_object.cpp:

(JSC::Bindings::RuntimeObject::deleteProperty):

  • bridge/runtime_object.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r96996 r97002  
     12011-10-07  Mark Hahnenberg  <[email protected]>
     2
     3        Add static version of JSCell::deleteProperty
     4        https://bugs.webkit.org/show_bug.cgi?id=69659
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Added static version of both versions of put to all classes that
     9        override them and changed the virtual versions to call the static
     10        versions.  This is the first step in de-virtualizing JSCell::deleteProperty.
     11
     12        * API/JSCallbackObject.h:
     13        * API/JSCallbackObjectFunctions.h:
     14        (JSC::::deleteProperty):
     15        * debugger/DebuggerActivation.cpp:
     16        (JSC::DebuggerActivation::deleteProperty):
     17        * debugger/DebuggerActivation.h:
     18        * runtime/Arguments.cpp:
     19        (JSC::Arguments::deleteProperty):
     20        * runtime/Arguments.h:
     21        * runtime/JSActivation.cpp:
     22        (JSC::JSActivation::deleteProperty):
     23        * runtime/JSActivation.h:
     24        * runtime/JSArray.cpp:
     25        (JSC::JSArray::deleteProperty):
     26        * runtime/JSArray.h:
     27        * runtime/JSCell.cpp:
     28        (JSC::JSCell::deleteProperty):
     29        * runtime/JSCell.h:
     30        * runtime/JSFunction.cpp:
     31        (JSC::JSFunction::deleteProperty):
     32        * runtime/JSFunction.h:
     33        * runtime/JSNotAnObject.cpp:
     34        (JSC::JSNotAnObject::deleteProperty):
     35        * runtime/JSNotAnObject.h:
     36        * runtime/JSObject.cpp:
     37        (JSC::JSObject::deleteProperty):
     38        * runtime/JSObject.h:
     39        * runtime/JSVariableObject.cpp:
     40        (JSC::JSVariableObject::deleteProperty):
     41        * runtime/JSVariableObject.h:
     42        * runtime/RegExpMatchesArray.h:
     43        (JSC::RegExpMatchesArray::deleteProperty):
     44        * runtime/StrictEvalActivation.cpp:
     45        (JSC::StrictEvalActivation::deleteProperty):
     46        * runtime/StrictEvalActivation.h:
     47        * runtime/StringObject.cpp:
     48        (JSC::StringObject::deleteProperty):
     49        * runtime/StringObject.h:
     50
    1512011-10-07  Mark Hahnenberg  <[email protected]>
    252
Note: See TracChangeset for help on using the changeset viewer.