Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/typesystem/GuardData.java @ 11480:f33beed55ddc
Truffle-DSL: better toString for GuardData.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 30 Aug 2013 15:55:22 +0200 |
parents | efe58aa92f86 |
children | bd28da642eea |
comparison
equal
deleted
inserted
replaced
11479:fce94b1d46f0 | 11480:f33beed55ddc |
---|---|
58 return specialization; | 58 return specialization; |
59 } | 59 } |
60 | 60 |
61 @Override | 61 @Override |
62 public String toString() { | 62 public String toString() { |
63 return getMethodName() + getParameters().toString(); | 63 return (negated ? "!" : "") + getMethodName() + getParameters().toString(); |
64 } | 64 } |
65 | 65 |
66 } | 66 } |