changeset 15842:eb947cc7bff9

Truffle: revise instrumentation support APIs in ExecutionContext
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Wed, 21 May 2014 21:07:15 -0700
parents cb87019df5aa
children 747bc4099ad8 09ac9ac9c4fc
files graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java	Wed May 21 10:25:54 2014 -0700
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java	Wed May 21 21:07:15 2014 -0700
@@ -154,23 +154,6 @@
     public abstract String getLanguageShortName();
 
     /**
-     * Add instrumentation to subsequently constructed Truffle ASTs for the guest language; every
-     * one added will have the opportunity to add instrumentation.
-     *
-     * @throws IllegalStateException if AST instrumentation not enabled
-     * @throws IllegalArgumentException if prober not usable for the guest language implementation.
-     */
-    public abstract void addNodeProber(ASTNodeProber nodeProber) throws IllegalStateException, IllegalArgumentException;
-
-    /**
-     * Assigns a guest language-specific manager for using {@link ASTNodeProber}s added by tools to
-     * instrument ASTs with {@link Probe}s at specified nodes. This must be assigned outside the
-     * implementation context to avoid build circularities. It must also be set before any
-     * instrumentation probe implementations are assigned.
-     */
-    public abstract void setASTProber(ASTProber astProber);
-
-    /**
      * Establishes source event reporting
      */
     protected abstract void setSourceCallback(SourceCallback sourceCallback);