# HG changeset patch # User Josef Eisl # Date 1431956302 -7200 # Node ID 4563ed9308c0d5b5f9a757689812eff74fe9a552 # Parent 607ddc0b8d216bd070a285d145ce7d7211d9cac7 NodeLIRBuilder#createPhiIn: add assertion message. diff -r 607ddc0b8d21 -r 4563ed9308c0 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/NodeLIRBuilder.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/NodeLIRBuilder.java Mon May 18 14:48:02 2015 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/NodeLIRBuilder.java Mon May 18 15:38:22 2015 +0200 @@ -202,7 +202,7 @@ if (value != null) { values.add(value); } else { - assert isPhiInputFromBackedge(phi, i); + assert isPhiInputFromBackedge(phi, i) : String.format("Input %s to phi node %s is not yet available although it is not coming from a loop back edge", node, phi); } } LIRKind derivedKind = LIRKind.merge(values.toArray(new Value[values.size()]));