Mercurial > hg > truffle
diff graal/com.oracle.graal.lir.ptx/src/com/oracle/graal/lir/ptx/PTXAddressValue.java @ 13256:14100434f421
fixed uses of Value.ILLEGAL
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Sat, 07 Dec 2013 19:34:42 +0100 |
parents | b04b94b71649 |
children | c0b8d395368b |
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir.ptx/src/com/oracle/graal/lir/ptx/PTXAddressValue.java Sat Dec 07 19:30:16 2013 +0100 +++ b/graal/com.oracle.graal.lir.ptx/src/com/oracle/graal/lir/ptx/PTXAddressValue.java Sat Dec 07 19:34:42 2013 +0100 @@ -68,7 +68,7 @@ } public PTXAddress toAddress() { - // Register baseReg = base == Value.ILLEGAL ? Register.None : asRegister(base); + // Register baseReg = base.equals( == Value.ILLEGAL) ? Register.None : asRegister(base); return new PTXAddress((Variable) base, displacement); }