Mercurial > hg > truffle
changeset 3472:9498c20925de
Comment change
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Mon, 01 Aug 2011 12:26:58 +0200 |
parents | 970d06648c93 |
children | 2c5b4dd06d3b |
files | graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java Mon Aug 01 11:49:40 2011 +0200 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java Mon Aug 01 12:26:58 2011 +0200 @@ -379,6 +379,7 @@ } } } + //TODO (gd) if materializedInDominator, compare cost of materialization to cost of current live range instead if (forced || materializationCost(block, blockUsages) < materializationCostAtChildren(block, usages)) { Node n; if (nodeToBlock.get(node) == null) {