Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/NodeIntrinsificationPhase.java @ 10569:6b9ebfcf5fc5
make BoxNode and UnboxNode floating
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 28 Jun 2013 15:32:06 +0200 |
parents | 2d5c0f7ce7a1 |
children | 1fdcc58bff2a |
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/NodeIntrinsificationPhase.java Fri Jun 28 11:02:37 2013 +0200 +++ b/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/NodeIntrinsificationPhase.java Fri Jun 28 15:32:06 2013 +0200 @@ -304,7 +304,7 @@ } else if (usage instanceof UnboxNode) { UnboxNode unbox = (UnboxNode) usage; unbox.replaceAtUsages(intrinsifiedNode); - graph.removeFixed(unbox); + graph.removeFloating(unbox); Debug.log("%s: Removed an UnboxNode", Debug.contextSnapshot(JavaMethod.class)); } else if (usage instanceof MethodCallTargetNode) { MethodCallTargetNode checkCastCallTarget = (MethodCallTargetNode) usage;