Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java @ 19521:b5467bb34b24
Truffle/Instrumentation: some variable renaming for clarity
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Thu, 19 Feb 2015 11:42:03 -0800 |
parents | 128586040207 |
children | 10a1fc5e3209 |
comparison
equal
deleted
inserted
replaced
19520:b08cf18b9f0a | 19521:b5467bb34b24 |
---|---|
284 return true; | 284 return true; |
285 } | 285 } |
286 return nextInstrument.removeFromChain(instrument); | 286 return nextInstrument.removeFromChain(instrument); |
287 } | 287 } |
288 | 288 |
289 public void enter(Node node, VirtualFrame frame) { | 289 public void enter(Node node, VirtualFrame vFrame) { |
290 Instrument.this.toolEventListener.enter(node, frame); | 290 Instrument.this.toolEventListener.enter(node, vFrame); |
291 if (nextInstrument != null) { | 291 if (nextInstrument != null) { |
292 nextInstrument.enter(node, frame); | 292 nextInstrument.enter(node, vFrame); |
293 } | 293 } |
294 } | 294 } |
295 | 295 |
296 public void returnVoid(Node node, VirtualFrame frame) { | 296 public void returnVoid(Node node, VirtualFrame vFrame) { |
297 Instrument.this.toolEventListener.returnVoid(node, frame); | 297 Instrument.this.toolEventListener.returnVoid(node, vFrame); |
298 if (nextInstrument != null) { | 298 if (nextInstrument != null) { |
299 nextInstrument.returnVoid(node, frame); | 299 nextInstrument.returnVoid(node, vFrame); |
300 } | 300 } |
301 } | 301 } |
302 | 302 |
303 public void returnValue(Node node, VirtualFrame frame, Object result) { | 303 public void returnValue(Node node, VirtualFrame vFrame, Object result) { |
304 Instrument.this.toolEventListener.returnValue(node, frame, result); | 304 Instrument.this.toolEventListener.returnValue(node, vFrame, result); |
305 if (nextInstrument != null) { | 305 if (nextInstrument != null) { |
306 nextInstrument.returnValue(node, frame, result); | 306 nextInstrument.returnValue(node, vFrame, result); |
307 } | 307 } |
308 } | 308 } |
309 | 309 |
310 public void returnExceptional(Node node, VirtualFrame frame, Exception exception) { | 310 public void returnExceptional(Node node, VirtualFrame vFrame, Exception exception) { |
311 Instrument.this.toolEventListener.returnExceptional(node, frame, exception); | 311 Instrument.this.toolEventListener.returnExceptional(node, vFrame, exception); |
312 if (nextInstrument != null) { | 312 if (nextInstrument != null) { |
313 nextInstrument.returnExceptional(node, frame, exception); | 313 nextInstrument.returnExceptional(node, vFrame, exception); |
314 } | 314 } |
315 } | 315 } |
316 | 316 |
317 public String instrumentationInfo() { | 317 public String instrumentationInfo() { |
318 if (Instrument.this.instrumentInfo != null) { | 318 if (Instrument.this.instrumentInfo != null) { |