Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/Phi.java @ 2821:015be60afcf3
removed flags from Value class
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Mon, 30 May 2011 17:05:06 +0200 |
parents | c3f64b66fc78 |
children | bd17ac598c6e |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Phi.java Mon May 30 16:24:22 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Phi.java Mon May 30 17:05:06 2011 +0200 @@ -40,6 +40,7 @@ private static final int SUCCESSOR_COUNT = 0; private int usedInputCount; + private boolean isDead; @Override protected int successorCount() { @@ -101,8 +102,11 @@ * Make this phi illegal if types were not merged correctly. */ public void makeDead() { - setFlag(Flag.PhiCannotSimplify); - setFlag(Flag.PhiDead); + isDead = true; + } + + public boolean isDead() { + return isDead; } @Override