Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
18309:d079b2af3a15 | 18310:36fb9592c13b |
---|---|
96 @Override | 96 @Override |
97 public boolean isInlinable() { | 97 public boolean isInlinable() { |
98 return false; | 98 return false; |
99 } | 99 } |
100 | 100 |
101 @Override | |
102 public String toString() { | |
103 return (getParent() != null ? getParent().toString() : super.toString()) + " call " + getCurrentCallTarget().toString(); | |
104 } | |
105 | |
106 private static DefaultTruffleRuntime defaultTruffleRuntime() { | 101 private static DefaultTruffleRuntime defaultTruffleRuntime() { |
107 return (DefaultTruffleRuntime) Truffle.getRuntime(); | 102 return (DefaultTruffleRuntime) Truffle.getRuntime(); |
108 } | 103 } |
109 } | 104 } |