summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGPhase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGPhase.cpp')
-rw-r--r--Source/JavaScriptCore/dfg/DFGPhase.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGPhase.cpp b/Source/JavaScriptCore/dfg/DFGPhase.cpp
index ecf669704..f97c49e31 100644
--- a/Source/JavaScriptCore/dfg/DFGPhase.cpp
+++ b/Source/JavaScriptCore/dfg/DFGPhase.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -39,7 +39,9 @@ void Phase::beginPhase()
dataLog("Graph before %s:\n", m_name);
m_graph.dump();
}
+#endif
+#if DFG_ENABLE(PER_PHASE_VALIDATION)
void Phase::endPhase()
{
validate(m_graph, DumpGraph);