diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2016-06-09 12:04:22 -0700 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2016-06-09 12:05:24 -0700 |
commit | 8f6dce45d4a9bda2e7040e2c60f54c9e791e3bc6 (patch) | |
tree | 82f186ac9fdfb691fc01d0199ff91a5a51d2f175 /src/jit/phase.h | |
parent | e763cc8a6ee81595d630c300bc2e83b71469cd5a (diff) | |
download | coreclr-8f6dce45d4a9bda2e7040e2c60f54c9e791e3bc6.tar.gz coreclr-8f6dce45d4a9bda2e7040e2c60f54c9e791e3bc6.tar.bz2 coreclr-8f6dce45d4a9bda2e7040e2c60f54c9e791e3bc6.zip |
Make Phase::{Pre,Do,Post}Phase protected.
These methods are implementation details of a phase and should not be a part
of its public interface.
Diffstat (limited to 'src/jit/phase.h')
-rw-r--r-- | src/jit/phase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jit/phase.h b/src/jit/phase.h index 5991084869..f78138ee39 100644 --- a/src/jit/phase.h +++ b/src/jit/phase.h @@ -14,11 +14,12 @@ public: Phases _phase=PHASE_NUMBER_OF) : comp(_comp), name(_name), phase(_phase) {} virtual void Run(); + +protected: virtual void PrePhase(); virtual void DoPhase() = 0; virtual void PostPhase(); -protected: Compiler *comp; const char *name; Phases phase; |