diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSGlobalData.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSGlobalData.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Source/JavaScriptCore/runtime/JSGlobalData.h b/Source/JavaScriptCore/runtime/JSGlobalData.h index ee3e067..34ea75d 100644 --- a/Source/JavaScriptCore/runtime/JSGlobalData.h +++ b/Source/JavaScriptCore/runtime/JSGlobalData.h @@ -57,6 +57,7 @@ namespace JSC { class CodeBlock; class CommonIdentifiers; + class HandleStack; class IdentifierTable; class Interpreter; class JSGlobalObject; @@ -128,7 +129,7 @@ namespace JSC { #if ENABLE(JSC_MULTIPLE_THREADS) // Will start tracking threads that use the heap, which is resource-heavy. - void makeUsableFromMultipleThreads() { heap.machineStackMarker().makeUsableFromMultipleThreads(); } + void makeUsableFromMultipleThreads() { heap.machineThreads().makeUsableFromMultipleThreads(); } #endif GlobalDataType globalDataType; @@ -155,7 +156,12 @@ namespace JSC { RefPtr<Structure> getterSetterStructure; RefPtr<Structure> apiWrapperStructure; RefPtr<Structure> scopeChainNodeStructure; + RefPtr<Structure> executableStructure; + RefPtr<Structure> evalExecutableStructure; + RefPtr<Structure> programExecutableStructure; + RefPtr<Structure> functionExecutableStructure; RefPtr<Structure> dummyMarkableCellStructure; + RefPtr<Structure> structureChainStructure; static void storeVPtrs(); static JS_EXPORTDATA void* jsArrayVPtr; @@ -199,15 +205,15 @@ namespace JSC { { return jitStubs->ctiStub(this, generator); } - PassRefPtr<NativeExecutable> getHostFunction(NativeFunction, ThunkGenerator); + NativeExecutable* getHostFunction(NativeFunction, ThunkGenerator); #endif - PassRefPtr<NativeExecutable> getHostFunction(NativeFunction); + NativeExecutable* getHostFunction(NativeFunction); TimeoutChecker timeoutChecker; Terminator terminator; Heap heap; - DeprecatedPtr<Unknown> exception; + JSValue exception; #if ENABLE(JIT) ReturnAddressPtr exceptionLocation; #endif @@ -219,8 +225,6 @@ namespace JSC { HashSet<JSObject*> stringRecursionCheckVisitedObjects; - Stringifier* firstStringifierToMark; - double cachedUTCOffset; DSTOffsetCache dstOffsetCache; @@ -255,6 +259,7 @@ namespace JSC { #endif void dumpRegExpTrace(); HandleSlot allocateGlobalHandle() { return heap.allocateGlobalHandle(); } + HandleSlot allocateLocalHandle() { return heap.allocateLocalHandle(); } private: JSGlobalData(GlobalDataType, ThreadStackType); |