# HG changeset patch # User Josef Eisl # Date 1430214960 -7200 # Node ID 8d868b026691842c558b5397b410ffd90dd6abc9 # Parent 4c7c22aa4bd70bcda0f5213597517d36f7869bb8 LinearScan: improve assert messages. diff -r 4c7c22aa4bd7 -r 8d868b026691 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java Wed Apr 22 10:50:36 2015 +0200 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java Tue Apr 28 11:56:00 2015 +0200 @@ -686,7 +686,7 @@ // iterate all blocks for (final AbstractBlockBase block : sortedBlocks) { - try (Indent indent = Debug.logAndIndent("compute local live sets for block %d", block.getId())) { + try (Indent indent = Debug.logAndIndent("compute local live sets for block %s", block)) { final BitSet liveGen = new BitSet(liveSize); final BitSet liveKill = new BitSet(liveSize); @@ -700,7 +700,7 @@ if (!liveKill.get(operandNum)) { liveGen.set(operandNum); if (Debug.isLogEnabled()) { - Debug.log("liveGen for operand %d", operandNum); + Debug.log("liveGen for operand %d(%s)", operandNum, operand); } } if (block.getLoop() != null) { @@ -718,7 +718,7 @@ if (!liveKill.get(operandNum)) { liveGen.set(operandNum); if (Debug.isLogEnabled()) { - Debug.log("liveGen in state for operand %d", operandNum); + Debug.log("liveGen in state for operand %d(%s)", operandNum, operand); } } } @@ -728,7 +728,7 @@ int varNum = operandNumber(operand); liveKill.set(varNum); if (Debug.isLogEnabled()) { - Debug.log("liveKill for operand %d", varNum); + Debug.log("liveKill for operand %d(%s)", varNum, operand); } if (block.getLoop() != null) { intervalInLoop.setBit(varNum, block.getLoop().getIndex()); diff -r 4c7c22aa4bd7 -r 8d868b026691 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/gen/PhiResolver.java