changeset 18142:a94e85e5256b

InliningUtil: tell which graph in error message.
author Bernhard Urban <bernhard.urban@jku.at>
date Tue, 21 Oct 2014 16:22:38 +0200
parents e47d597a0652
children 0e1c92b8b267
files graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/inlining/InliningUtil.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/inlining/InliningUtil.java	Tue Oct 21 16:21:59 2014 +0200
+++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/inlining/InliningUtil.java	Tue Oct 21 16:22:38 2014 +0200
@@ -246,7 +246,7 @@
         final StartNode entryPointNode = inlineGraph.start();
         FixedNode firstCFGNode = entryPointNode.next();
         if (firstCFGNode == null) {
-            throw new IllegalStateException("Inlined graph is in invalid state");
+            throw new IllegalStateException("Inlined graph is in invalid state: " + inlineGraph);
         }
         for (Node node : inlineGraph.getNodes()) {
             if (node == entryPointNode || node == entryPointNode.stateAfter() || node instanceof ParameterNode) {