diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrumentable.java @ 16962:f0c3de09f12a

Merge with e01b0b9a5f886f8810ba09668632acd675cccf76
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 26 Aug 2014 19:57:25 -0700
parents a1427e40deaf 997899955e72
children
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrumentable.java	Tue Aug 26 13:54:53 2014 -0700
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrumentable.java	Tue Aug 26 19:57:25 2014 -0700
@@ -24,8 +24,6 @@
  */
 package com.oracle.truffle.api.instrument;
 
-import com.oracle.truffle.api.*;
-
 /**
  * Any Truffle node implementing this interface can be "instrumented" by installing a {@link Probe}
  * that intercepts {@link ExecutionEvents} at the node and routes them to any {@link Instrument}s
@@ -39,9 +37,7 @@
      * part (and not the root of) of a well-formed Truffle AST that is not being executed. The AST
      * may be modified.
      *
-     * @param context access to language implementation context
-     * @return a {@link Probe} to which tools may attach {@link Instrument}s that will receive
-     *         {@link ExecutionEvents}
+     * @return The probe that was created.
      */
-    public Probe probe(ExecutionContext context);
+    Probe probe();
 }