Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2834:bfce42cd9c07
Graph duplication now passes all tests
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 31 May 2011 13:34:52 +0200 |
parents | d54ea877a302 |
children | c1c8a0291771 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Tue May 31 09:51:59 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Tue May 31 13:34:52 2011 +0200 @@ -388,7 +388,7 @@ dims[i] = toXirArgument(x.dimension(i)); } - XirSnippet snippet = xir.genNewMultiArray(site(x), dims, x.elementKind); + XirSnippet snippet = xir.genNewMultiArray(site(x), dims, x.elementType); emitXir(snippet, x, stateFor(x), null, true); }