From: Pat Gavlin Date: Thu, 9 Jun 2016 19:04:22 +0000 (-0700) Subject: Make Phase::{Pre,Do,Post}Phase protected. X-Git-Tag: submit/tizen/20210909.063632~11030^2~10181^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fa31d424914699375e5fabe819baeaf8f6ccd9e;p=platform%2Fupstream%2Fdotnet%2Fruntime.git 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. Commit migrated from https://github.com/dotnet/coreclr/commit/8f6dce45d4a9bda2e7040e2c60f54c9e791e3bc6 --- diff --git a/src/coreclr/src/jit/phase.h b/src/coreclr/src/jit/phase.h index 5991084..f78138e 100644 --- a/src/coreclr/src/jit/phase.h +++ b/src/coreclr/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;