Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/value/ValueUtil.java @ 2690:abb4cc15283d
Sync with latest renamings
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Wed, 18 May 2011 11:53:06 +0200 |
parents | bd235cb4375a |
children |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/value/ValueUtil.java Wed May 18 09:44:05 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/value/ValueUtil.java Wed May 18 11:53:06 2011 +0200 @@ -23,6 +23,7 @@ package com.sun.c1x.value; import com.sun.c1x.ir.*; +import com.sun.c1x.util.*; import com.sun.cri.ci.*; @@ -73,7 +74,7 @@ } public static boolean typeMismatch(Value x, Value y) { - return y == null || x.kind != y.kind; + return y == null || !Util.archKindsEqual(x, y); } public static boolean isDoubleWord(Value x) {