Mercurial > hg > graal-compiler
changeset 22828:259702025588
TraceRA: blockForId: improve assertion message.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Thu, 08 Oct 2015 15:18:22 +0200 |
parents | eb99bf98f076 |
children | a60600b1221f |
files | graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/trace/TraceLinearScan.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)]; }