# HG changeset patch # User Josef Eisl # Date 1444310302 -7200 # Node ID 259702025588d740a0c2b17bb28c25251ecb0667 # Parent eb99bf98f0763bc163014b8af2752d3d530edc44 TraceRA: blockForId: improve assertion message. diff -r eb99bf98f076 -r 259702025588 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/trace/TraceLinearScan.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/trace/TraceLinearScan.java Tue Oct 13 11:41:53 2015 +0200 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/trace/TraceLinearScan.java Thu Oct 08 15:18:22 2015 +0200 @@ -470,7 +470,7 @@ * @return the block containing the instruction denoted by {@code opId} */ public AbstractBlockBase blockForId(int opId) { - assert opIdToBlockMap.length > 0 && opId >= 0 && opId <= maxOpId() + 1 : "opId out of range"; + assert opIdToBlockMap.length > 0 && opId >= 0 && opId <= maxOpId() + 1 : "opId out of range: " + opId; return opIdToBlockMap[opIdToIndex(opId)]; }