# HG changeset patch # User Michael Van De Vanter # Date 1400731635 25200 # Node ID eb947cc7bff930c4fe7cadba0e6c56a2003dcfc9 # Parent cb87019df5aa3ecd9990cc72d2b665d53be05014 Truffle: revise instrumentation support APIs in ExecutionContext diff -r cb87019df5aa -r eb947cc7bff9 graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java --- 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);