Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
2829:27c00b180416 | 2834:bfce42cd9c07 |
---|---|
386 | 386 |
387 for (int i = 0; i < dims.length; i++) { | 387 for (int i = 0; i < dims.length; i++) { |
388 dims[i] = toXirArgument(x.dimension(i)); | 388 dims[i] = toXirArgument(x.dimension(i)); |
389 } | 389 } |
390 | 390 |
391 XirSnippet snippet = xir.genNewMultiArray(site(x), dims, x.elementKind); | 391 XirSnippet snippet = xir.genNewMultiArray(site(x), dims, x.elementType); |
392 emitXir(snippet, x, stateFor(x), null, true); | 392 emitXir(snippet, x, stateFor(x), null, true); |
393 } | 393 } |
394 | 394 |
395 @Override | 395 @Override |
396 public void visitConstant(Constant x) { | 396 public void visitConstant(Constant x) { |