Mercurial > hg > truffle
changeset 15849:e7277bf3b171
skip PiNode in AMD64HotSpotNodeLIRBuilder.filterCompression
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Thu, 22 May 2014 14:04:55 +0200 |
parents | 11328036d854 |
children | 9ce2ca72efef |
files | graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotNodeLIRBuilder.java |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotNodeLIRBuilder.java Thu May 22 14:04:55 2014 +0200 +++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotNodeLIRBuilder.java Thu May 22 14:04:55 2014 +0200 @@ -59,7 +59,10 @@ private static ValueNode filterCompression(ValueNode node) { ValueNode result = node; - while (result instanceof CompressionNode) { + if (result instanceof PiNode) { + result = ((PiNode) result).getOriginalNode(); + } + if (result instanceof CompressionNode) { result = ((CompressionNode) result).getInput(); } return result;