Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultDirectCallNode.java @ 18310:36fb9592c13b
Truffle: simpler, more consistent toString for DirectCallNode subclasses.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Sat, 08 Nov 2014 22:22:00 +0000 |
parents | ab62800259ff |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultDirectCallNode.java Sat Nov 08 22:03:36 2014 +0000 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultDirectCallNode.java Sat Nov 08 22:22:00 2014 +0000 @@ -98,11 +98,6 @@ return false; } - @Override - public String toString() { - return (getParent() != null ? getParent().toString() : super.toString()) + " call " + getCurrentCallTarget().toString(); - } - private static DefaultTruffleRuntime defaultTruffleRuntime() { return (DefaultTruffleRuntime) Truffle.getRuntime(); }