Ignore:
Timestamp:
Nov 18, 2007, 1:09:27 AM (18 years ago)
Author:
[email protected]
Message:

Fix: <rdar://problem/5607032> (REGRESSION: testapi exits with assertion failure in debug build) and <rdar://problem/5440659> (JSGlobalContextCreate throws away globalObjectClass's prototype)

Split Interpreter's initialization into two distinct steps: the creation of the global prototypes
and constructors, and storing them on the global object. This allows JSClassRef's passed to
JSGlobalContextCreate to be instantiated with the correct prototype.

Reviewed by Darin Adler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r27842 r27885  
    117117__ZN3KJS11Interpreter11checkSyntaxERKNS_7UStringEiS3_
    118118__ZN3KJS11Interpreter15restoreBuiltinsERKNS_13SavedBuiltinsE
    119 __ZN3KJS11Interpreter16initGlobalObjectEv
     119__ZN3KJS11Interpreter15setGlobalObjectEPNS_14JSGlobalObjectE
    120120__ZN3KJS11Interpreter16stopTimeoutCheckEv
    121121__ZN3KJS11Interpreter17startTimeoutCheckEv
    122122__ZN3KJS11Interpreter21shouldPrintExceptionsEv
    123123__ZN3KJS11Interpreter24setShouldPrintExceptionsEb
     124__ZN3KJS11Interpreter27resetGlobalObjectPropertiesEv
    124125__ZN3KJS11Interpreter4markEv
    125126__ZN3KJS11Interpreter6s_hookE
    126127__ZN3KJS11Interpreter8evaluateERKNS_7UStringEiPKNS_5UCharEiPNS_7JSValueE
    127128__ZN3KJS11Interpreter8evaluateERKNS_7UStringEiS3_PNS_7JSValueE
    128 __ZN3KJS11InterpreterC1EPNS_14JSGlobalObjectE
    129 __ZN3KJS11InterpreterC1EPNS_14JSGlobalObjectE
    130129__ZN3KJS11InterpreterC1Ev
    131 __ZN3KJS11InterpreterC2EPNS_14JSGlobalObjectE
     130__ZN3KJS11InterpreterC2Ev
    132131__ZN3KJS11InterpreterD1Ev
    133132__ZN3KJS11InterpreterD2Ev
     
    252251__ZNK3KJS4Node8toStringEv
    253252__ZNK3KJS6JSCell17getTruncatedInt32ERi
    254 __ZNK3KJS6JSCell17getTruncatedInt32ERi
    255 __ZNK3KJS6JSCell18getTruncatedUInt32ERj
    256253__ZNK3KJS6JSCell18getTruncatedUInt32ERj
    257254__ZNK3KJS6JSCell9getNumberERd
Note: See TracChangeset for help on using the changeset viewer.