Ignore:
Timestamp:
Sep 16, 2011, 1:32:15 PM (14 years ago)
Author:
[email protected]
Message:

Rationalize JSObject::putDirect* methods
https://bugs.webkit.org/show_bug.cgi?id=68274

Reviewed by Sam Weinig.

Delete the *Function variants. These are overall inefficient,
in the way they get the name back from the function rather
than just passing it in.

(GlobalObject::finishCreation):
(GlobalObject::addFunction):

  • runtime/FunctionPrototype.cpp:

(JSC::FunctionPrototype::addFunctionProperties):

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::reset):

  • runtime/JSObject.cpp:

(JSC::JSObject::put):
(JSC::JSObject::putWithAttributes):
(JSC::JSObject::defineGetter):
(JSC::JSObject::defineSetter):

  • runtime/JSObject.h:

(JSC::JSObject::putDirect):
(JSC::JSObject::putDirectWithoutTransition):

  • runtime/Lookup.cpp:

(JSC::setUpStaticFunctionSlot):

  • runtime/Lookup.h:

(JSC::lookupPut):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/JavaScriptCore.exp

    r95229 r95318  
    133133__ZN3JSC12JSGlobalData13startSamplingEv
    134134__ZN3JSC12JSGlobalData14dumpSampleDataEPNS_9ExecStateE
     135__ZN3JSC12JSGlobalData14jsFunctionVPtrE
    135136__ZN3JSC12JSGlobalData14resetDateCacheEv
    136137__ZN3JSC12JSGlobalData14sharedInstanceEv
     
    249250__ZN3JSC4Heap8capacityEv
    250251__ZN3JSC4Heap9unprotectENS_7JSValueE
    251 __ZN3JSC4Yarr9interpretEPNS0_15BytecodePatternERKNS_7UStringEjjPi
    252252__ZN3JSC4Yarr11YarrPatternC1ERKNS_7UStringEbbPPKc
    253253__ZN3JSC4Yarr11byteCompileERNS0_11YarrPatternEPN3WTF20BumpPointerAllocatorE
     254__ZN3JSC4Yarr9interpretEPNS0_15BytecodePatternERKNS_7UStringEjjPi
    254255__ZN3JSC4callEPNS_9ExecStateENS_7JSValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE
    255256__ZN3JSC6JSCell11getCallDataERNS_8CallDataE
     
    315316__ZN3JSC8JSObject17defineOwnPropertyEPNS_9ExecStateERKNS_10IdentifierERNS_18PropertyDescriptorEb
    316317__ZN3JSC8JSObject17preventExtensionsERNS_12JSGlobalDataE
    317 __ZN3JSC8JSObject17putDirectFunctionEPNS_9ExecStateEPNS_10JSFunctionEj
    318 __ZN3JSC8JSObject17putDirectFunctionEPNS_9ExecStateEPNS_16InternalFunctionEj
    319318__ZN3JSC8JSObject17putWithAttributesEPNS_12JSGlobalDataERKNS_10IdentifierENS_7JSValueEj
    320319__ZN3JSC8JSObject17putWithAttributesEPNS_12JSGlobalDataERKNS_10IdentifierENS_7JSValueEjbRNS_15PutPropertySlotE
Note: See TracChangeset for help on using the changeset viewer.