diff options
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGPhase.h')
| -rw-r--r-- | Source/JavaScriptCore/dfg/DFGPhase.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGPhase.h b/Source/JavaScriptCore/dfg/DFGPhase.h index 5e8b329fa..6de043bbd 100644 --- a/Source/JavaScriptCore/dfg/DFGPhase.h +++ b/Source/JavaScriptCore/dfg/DFGPhase.h @@ -26,6 +26,8 @@ #ifndef DFGPhase_h #define DFGPhase_h +#include <wtf/Platform.h> + #if ENABLE(DFG_JIT) #include "DFGCommon.h" @@ -49,8 +51,6 @@ public: const char* name() const { return m_name; } - Graph& graph() { return m_graph; } - // Each phase must have a run() method. protected: @@ -67,15 +67,13 @@ private: // Call these hooks when starting and finishing. void beginPhase(); void endPhase(); - - CString m_graphDumpBeforePhase; }; template<typename PhaseType> bool runAndLog(PhaseType& phase) { bool result = phase.run(); - if (result && logCompilationChanges(phase.graph().m_plan.mode)) + if (result && logCompilationChanges()) dataLogF("Phase %s changed the IR.\n", phase.name()); return result; } |
