Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/AbstractAssumption.java @ 18798:f1e7e4f6d833
Truffle: improve invalidation messages for assumptions.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 07 Jan 2015 18:02:00 +0100 |
parents | 0c4d7b468dd7 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/AbstractAssumption.java Wed Jan 07 18:01:24 2015 +0100 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/AbstractAssumption.java Wed Jan 07 18:02:00 2015 +0100 @@ -43,6 +43,6 @@ @Override public String toString() { - return "Assumption(valid=" + isValid + "): " + name; + return "Assumption(" + (isValid ? "valid" : "invalid") + ", name=" + name + ")"; } }