Changeset 35853 in webkit for trunk/JavaScriptCore/kjs/Shell.cpp


Ignore:
Timestamp:
Aug 20, 2008, 12:23:06 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Geoff Garen.

Bring back shared JSGlobalData and implicit locking, because too many clients rely on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/Shell.cpp

    r35807 r35853  
    3131#include "JSFunction.h"
    3232#include "JSGlobalObject.h"
     33#include "JSLock.h"
    3334#include "JSObject.h"
    3435#include "Parser.h"
     
    209210JSValue* functionGC(ExecState* exec, JSObject*, JSValue*, const ArgList&)
    210211{
     212    JSLock lock(false);
    211213    exec->heap()->collect();
    212214    return jsUndefined();
     
    460462    KJS::initializeThreading();
    461463
     464    JSLock lock(false);
     465
    462466    Options options;
    463467    parseArguments(argc, argv, options);
Note: See TracChangeset for help on using the changeset viewer.