Ignore:
Timestamp:
Feb 24, 2008, 9:29:20 PM (18 years ago)
Author:
[email protected]
Message:

Reviewed by Mark Rowe.

http://bugs.webkit.org/show_bug.cgi?id=17528
Give testkjs a bath

  • JavaScriptCore.exp:
  • JavaScriptCore.xcodeproj/project.pbxproj: Make the testkjs.cpp use 4 space indentation.
  • kjs/testkjs.cpp: (StopWatch::getElapsedMS): (GlobalObject::className): (GlobalObject::GlobalObject): Rename GlobalImp to GlobalObject and setup the global functions in the GlobalObject's constructor. Also, use static functions for the implementation so we can use the standard PrototypeFunction class and remove TestFunctionImp. (functionPrint): Move print() functionality here. (functionDebug): Move debug() functionality here. (functionGC): Move gc() functionality here. (functionVersion): Move version() functionality here. (functionRun): Move run() functionality here. (functionLoad): Move load() functionality here. (functionQuit): Move quit() functionality here. (prettyPrintScript): Fix indentation. (runWithScripts): Since all the functionality of createGlobalObject is now in the GlobalObject constructor, just call new here. (parseArguments): Fix indentation. (kjsmain): Ditto (fillBufferWithContentsOfFile): Ditto.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r30534 r30555  
    163163__ZN3KJS16RuntimeObjectImp4infoE
    164164__ZN3KJS17PropertyNameArray3addERKNS_10IdentifierE
     165__ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEPNS_17FunctionPrototypeEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectERKNS_4ListEE
    165166__ZN3KJS17PrototypeFunctionC1EPNS_9ExecStateEiRKNS_10IdentifierEPFPNS_7JSValueES2_PNS_8JSObjectERKNS_4ListEE
    166167__ZN3KJS19InternalFunctionImp4infoE
     
    215216__ZN3KJS8JSObject14deletePropertyEPNS_9ExecStateEj
    216217__ZN3KJS8JSObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE
     218__ZN3KJS8JSObject17putDirectFunctionEPNS_19InternalFunctionImpEi
    217219__ZN3KJS8JSObject18getOwnPropertySlotEPNS_9ExecStateEjRNS_12PropertySlotE
    218220__ZN3KJS8JSObject18getPrimitiveNumberEPNS_9ExecStateERdRPNS_7JSValueE
     
    243245__ZN3WTF10fastMallocEm
    244246__ZN3WTF11fastReallocEPvm
     247__ZN3WTF12createThreadEPFPvS0_ES0_
     248__ZN3WTF12detachThreadEj
     249__ZN3WTF13currentThreadEv
     250__ZN3WTF15ThreadCondition4waitERNS_5MutexE
     251__ZN3WTF15ThreadCondition6signalEv
     252__ZN3WTF15ThreadCondition9broadcastEv
     253__ZN3WTF15ThreadConditionC1Ev
     254__ZN3WTF15ThreadConditionD1Ev
    245255__ZN3WTF16fastZeroedMallocEm
     256__ZN3WTF23waitForThreadCompletionEjPPv
     257__ZN3WTF5Mutex4lockEv
     258__ZN3WTF5Mutex6unlockEv
     259__ZN3WTF5Mutex7tryLockEv
     260__ZN3WTF5MutexC1Ev
     261__ZN3WTF5MutexD1Ev
    246262__ZN3WTF8fastFreeEPv
    247263__ZNK3KJS11PropertyMap3getERKNS_10IdentifierE
     
    299315_kJSClassDefinitionEmpty
    300316_kjs_strtod
    301 __ZN3WTF5MutexC1Ev
    302 __ZN3WTF5MutexD1Ev
    303 __ZN3WTF15ThreadCondition4waitERNS_5MutexE
    304 __ZN3WTF5Mutex7tryLockEv
    305 __ZN3WTF12detachThreadEj
    306 __ZN3WTF13currentThreadEv
    307 __ZN3WTF5Mutex4lockEv
    308 __ZN3WTF23waitForThreadCompletionEjPPv
    309 __ZN3WTF15ThreadConditionC1Ev
    310 __ZN3WTF15ThreadConditionD1Ev
    311 __ZN3WTF5Mutex6unlockEv
    312 __ZN3WTF12createThreadEPFPvS0_ES0_
    313 __ZN3WTF15ThreadCondition9broadcastEv
    314 __ZN3WTF15ThreadCondition6signalEv
Note: See TracChangeset for help on using the changeset viewer.