Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
18797:3db8ec140f3f | 18798:f1e7e4f6d833 |
---|---|
41 return name; | 41 return name; |
42 } | 42 } |
43 | 43 |
44 @Override | 44 @Override |
45 public String toString() { | 45 public String toString() { |
46 return "Assumption(valid=" + isValid + "): " + name; | 46 return "Assumption(" + (isValid ? "valid" : "invalid") + ", name=" + name + ")"; |
47 } | 47 } |
48 } | 48 } |