Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java @ 2546:e1b3db8031ee
Removed liveness marking.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 21:54:31 +0200 |
parents | a384fac3fd34 |
children | 274360f98f97 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java Wed Apr 27 21:38:22 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java Wed Apr 27 21:54:31 2011 +0200 @@ -2045,13 +2045,6 @@ assert con == null || operand.isVariable() || operand.isConstant() || operand.isIllegal() : "Constant instructions have only constant operands (or illegal if constant is optimized away)"; - if (con != null && !con.isLive() && !operand.isConstant()) { - // Unpinned constants may have a variable operand for a part of the lifetime - // or may be illegal when it was optimized away, - // so always use a constant operand - operand = con.asConstant(); - } - if (operand.isVariable()) { OperandMode mode = OperandMode.Input; BlockBegin block = blockForId(opId);