diff options
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGPhase.h')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGPhase.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGPhase.h b/Source/JavaScriptCore/dfg/DFGPhase.h index 6d13bcd25..53055a215 100644 --- a/Source/JavaScriptCore/dfg/DFGPhase.h +++ b/Source/JavaScriptCore/dfg/DFGPhase.h @@ -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 @@ -65,11 +65,14 @@ private: // Call these hooks when starting and finishing. #if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE) void beginPhase(); - void endPhase(); -#else // DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE) +#else void beginPhase() { } +#endif +#if DFG_ENABLE(PER_PHASE_VALIDATION) + void endPhase(); +#else void endPhase() { } -#endif // DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE) +#endif }; template<typename PhaseType> |