Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/opt/LivenessMarker.java @ 2539:fa3bda50cbfd
More clean up on Value.Flags.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 20:22:05 +0200 |
parents | eca17668badf |
children |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/opt/LivenessMarker.java Wed Apr 27 20:13:54 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/opt/LivenessMarker.java Wed Apr 27 20:22:05 2011 +0200 @@ -148,19 +148,10 @@ stateBefore.valuesDo(deoptMarker); i.inputValuesDo(valueMarker); setFlag(i, LiveSideEffect); - } else if (i.checkFlag(LiveStore)) { - // instruction is a store that cannot be eliminated - i.inputValuesDo(valueMarker); - setFlag(i, LiveSideEffect); } else if (i.checkFlag(LiveSideEffect)) { // instruction has a side effect i.inputValuesDo(valueMarker); } - if (i instanceof BlockEnd) { - // input values to block ends are control dependencies - i.inputValuesDo(valueMarker); - setFlag(i, LiveControl); - } FrameState stateAfter = i.stateAfter(); if (stateAfter != null) { stateAfter.valuesDo(deoptMarker);