diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java @ 18338:c4f374adce13

Probe interface should extend NodeInterface
author Andreas Woess <andreas.woess@jku.at>
date Tue, 11 Nov 2014 14:24:21 +0100
parents 7bfbad29d331
children e3c95cbbb50c
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java	Tue Nov 11 13:37:42 2014 +0100
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java	Tue Nov 11 14:24:21 2014 +0100
@@ -24,6 +24,7 @@
  */
 package com.oracle.truffle.api.instrument;
 
+import com.oracle.truffle.api.nodes.*;
 import com.oracle.truffle.api.source.*;
 
 /**
@@ -49,7 +50,7 @@
  * @see Instrument
  * @see Wrapper
  */
-public interface Probe extends ExecutionEvents, SyntaxTagged {
+public interface Probe extends ExecutionEvents, SyntaxTagged, NodeInterface {
 
     /**
      * Get the {@link SourceSection} in some Truffle AST associated with this probe.