Mercurial > hg > graal-compiler
changeset 21512:d1baf7d5230a
GraphDecoder: add debug information to Invoke assertion
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Tue, 05 May 2015 17:56:23 +0200 |
parents | bd6f19542e08 |
children | d760a7d64801 |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GraphDecoder.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GraphDecoder.java Wed May 06 11:08:36 2015 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GraphDecoder.java Tue May 05 17:56:23 2015 +0200 @@ -946,7 +946,7 @@ return true; } else if (node instanceof Invoke) { - assert node instanceof InvokeNode || node instanceof InvokeWithExceptionNode : "The only two Invoke node classes"; + assert node instanceof InvokeNode || node instanceof InvokeWithExceptionNode : "The only two Invoke node classes. Got " + node.getClass(); assert direct : "Invoke and InvokeWithException only have direct successor and input edges"; if (edges.type() == Edges.Type.Successors) { assert edges.getCount() == (node instanceof InvokeWithExceptionNode ? 2 : 1) : "InvokeNode has one successor (next); InvokeWithExceptionNode has two successors (next, exceptionEdge)";