projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e763cc8
)
Make Phase::{Pre,Do,Post}Phase protected.
author
Pat Gavlin
<pagavlin@microsoft.com>
Thu, 9 Jun 2016 19:04:22 +0000
(12:04 -0700)
committer
Pat Gavlin
<pagavlin@microsoft.com>
Thu, 9 Jun 2016 19:05:24 +0000
(12:05 -0700)
These methods are implementation details of a phase and should not be a part
of its public interface.
src/jit/phase.h
patch
|
blob
|
history
diff --git
a/src/jit/phase.h
b/src/jit/phase.h
index
5991084
..
f78138e
100644
(file)
--- 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;