Mercurial > hg > truffle
changeset 3495:a6210c7dadde
Fix SplitMaterialization for the new Node API
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Sun, 07 Aug 2011 18:05:52 +0200 |
parents | 82480cb4a51e |
children | ef79e8b2c437 5d03d0509cd9 |
files | graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java Sun Aug 07 16:28:10 2011 +0200 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java Sun Aug 07 18:05:52 2011 +0200 @@ -567,7 +567,7 @@ int index = phi.merge().phiPredecessorIndex(pred); phi.setValueAt(index, (Value) patch); } else { - usage.node.inputs().replace(original, patch); + usage.node.replaceFirstInput(original, patch); } }