Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/CallNode.java @ 14584:6189c1983cd3
Truffle: make Node#replace accept any CharSequence as reason
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Tue, 18 Mar 2014 13:14:53 +0100 |
parents | 6681b9eb3f4c |
children | 1422f0bd55e3 |
comparison
equal
deleted
inserted
replaced
14583:2ec76bd5f309 | 14584:6189c1983cd3 |
---|---|
154 } | 154 } |
155 return null; | 155 return null; |
156 } | 156 } |
157 | 157 |
158 @Override | 158 @Override |
159 protected void onReplace(Node newNode, String reason) { | 159 protected void onReplace(Node newNode, CharSequence reason) { |
160 super.onReplace(newNode, reason); | 160 super.onReplace(newNode, reason); |
161 | 161 |
162 /* | 162 /* |
163 * Old call nodes are removed in the old target root node. | 163 * Old call nodes are removed in the old target root node. |
164 */ | 164 */ |