Mercurial > hg > graal-compiler
changeset 16078:0dd4bbe37f19
replace use of == with .equals
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 11 Jun 2014 08:35:18 +0200 |
parents | 2d296658a24e |
children | df8d39e2000b |
files | graal/com.oracle.graal.lir.hsail/src/com/oracle/graal/lir/hsail/HSAILMove.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir.hsail/src/com/oracle/graal/lir/hsail/HSAILMove.java Tue Jun 10 22:56:18 2014 +0200 +++ b/graal/com.oracle.graal.lir.hsail/src/com/oracle/graal/lir/hsail/HSAILMove.java Wed Jun 11 08:35:18 2014 +0200 @@ -170,7 +170,7 @@ } public boolean usesThreadRegister() { - return (address.toAddress().getBase() == HSAIL.threadRegister); + return (address.toAddress().getBase().equals(HSAIL.threadRegister)); } }