Ignore:
Timestamp:
May 11, 2012, 4:07:51 PM (13 years ago)
Author:
[email protected]
Message:

Appease thread verifier when dealing with the JSC API's shared VM
https://bugs.webkit.org/show_bug.cgi?id=86268

Reviewed by Geoffrey Garen.

If we're the shared VM, just disable the verifier. This makes debug builds
livable against non-webkit clients.

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSGlobalData.cpp

    r115697 r116818  
    174174    interpreter = new Interpreter;
    175175
     176    if (isSharedInstance())
     177        turnOffVerifier();
     178
    176179    // Need to be careful to keep everything consistent here
    177180    IdentifierTable* existingEntryIdentifierTable = wtfThreadData().setCurrentIdentifierTable(identifierTable);
Note: See TracChangeset for help on using the changeset viewer.