Changeset 153121 in webkit for trunk/Source/JavaScriptCore/ftl/FTLState.cpp
- Timestamp:
- Jul 24, 2013, 8:58:38 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore/ftl
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLState.cpp
r153120 r153121 24 24 */ 25 25 26 #i fndef DFGOSRExitCompilerCommon_h27 # define DFGOSRExitCompilerCommon_h26 #include "config.h" 27 #include "FTLState.h" 28 28 29 #i nclude <wtf/Platform.h>29 #if ENABLE(FTL_JIT) 30 30 31 #i f ENABLE(DFG_JIT)31 #include "CodeBlockWithJITType.h" 32 32 33 #include "DFGCCallHelpers.h" 34 #include "DFGOSRExit.h" 33 namespace JSC { namespace FTL { 35 34 36 namespace JSC { namespace DFG { 35 using namespace DFG; 37 36 38 void handleExitCounts(CCallHelpers&, const OSRExit&); 39 void reifyInlinedCallFrames(CCallHelpers&, const OSRExit&); 40 void adjustAndJumpToTarget(CCallHelpers&, const OSRExit&); 37 State::State(Graph& graph) 38 : graph(graph) 39 , module(0) 40 , function(0) 41 , jitCode(adoptRef(new JITCode())) 42 { 43 } 41 44 42 } } // namespace JSC::DFG 45 void State::dumpState(const char* when) 46 { 47 dataLog("LLVM IR for ", CodeBlockWithJITType(graph.m_codeBlock, FTL::JITCode::FTLJIT), " ", when, ":\n"); 48 dumpModule(module); 49 } 43 50 44 #endif // ENABLE(DFG_JIT) 51 } } // namespace JSC::FTL 45 52 46 #endif // DFGOSRExitCompilerCommon_h53 #endif // ENABLE(FTL_JIT) 47 54
Note:
See TracChangeset
for help on using the changeset viewer.