diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/dfg/DFGJITCode.h | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGJITCode.h')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGJITCode.h | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGJITCode.h b/Source/JavaScriptCore/dfg/DFGJITCode.h index 243e353a3..0e771e046 100644 --- a/Source/JavaScriptCore/dfg/DFGJITCode.h +++ b/Source/JavaScriptCore/dfg/DFGJITCode.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2015 Apple Inc. All rights reserved. + * Copyright (C) 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -26,9 +26,10 @@ #ifndef DFGJITCode_h #define DFGJITCode_h +#include <wtf/Platform.h> + #if ENABLE(DFG_JIT) -#include "CodeBlock.h" #include "CompilationResult.h" #include "DFGCommonData.h" #include "DFGMinifiedGraph.h" @@ -39,11 +40,7 @@ #include "JITCode.h" #include <wtf/SegmentedVector.h> -namespace JSC { - -class TrackedReferences; - -namespace DFG { +namespace JSC { namespace DFG { class JITCompiler; @@ -112,20 +109,7 @@ public: void setOptimizationThresholdBasedOnCompilationResult(CodeBlock*, CompilationResult); #endif // ENABLE(FTL_JIT) - void validateReferences(const TrackedReferences&) override; - void shrinkToFit(); - - RegisterSet liveRegistersToPreserveAtExceptionHandlingCallSite(CodeBlock*, CallSiteIndex) override; -#if ENABLE(FTL_JIT) - CodeBlock* osrEntryBlock() { return m_osrEntryBlock.get(); } - void setOSREntryBlock(VM& vm, const JSCell* owner, CodeBlock* osrEntryBlock) { m_osrEntryBlock.set(vm, owner, osrEntryBlock); } - void clearOSREntryBlock() { m_osrEntryBlock.clear(); } -#endif - - static ptrdiff_t commonDataOffset() { return OBJECT_OFFSETOF(JITCode, common); } - - Optional<CodeOrigin> findPC(CodeBlock*, void* pc) override; private: friend class JITCompiler; // Allow JITCompiler to call setCodeRef(). @@ -138,12 +122,8 @@ public: DFG::VariableEventStream variableEventStream; DFG::MinifiedGraph minifiedDFG; #if ENABLE(FTL_JIT) - uint8_t nestedTriggerIsSet { 0 }; - uint8_t neverExecutedEntry { 1 }; - UpperTierExecutionCounter tierUpCounter; - WriteBarrier<CodeBlock> m_osrEntryBlock; - unsigned osrEntryRetry; - bool abandonOSREntry; + ExecutionCounter tierUpCounter; + RefPtr<CodeBlock> osrEntryBlock; #endif // ENABLE(FTL_JIT) }; |