diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/instrument/InstrumentationProxyNode.java @ 13565:b88852aea6f3

Truffle: extend Instrumentation Framework for proxies/probes to include phylum marking, low level stepping mode, and bug fixes.
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 07 Jan 2014 18:26:11 -0800
parents 69d2e4baa215
children
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/instrument/InstrumentationProxyNode.java	Tue Jan 07 18:21:20 2014 -0800
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/instrument/InstrumentationProxyNode.java	Tue Jan 07 18:26:11 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
  */
 package com.oracle.truffle.api.nodes.instrument;
 
+import com.oracle.truffle.api.nodes.*;
 import com.oracle.truffle.api.nodes.instrument.InstrumentationProbeNode.ProbeChain;
 
 /**
@@ -36,7 +37,12 @@
  * probe chain} which passes along {@linkplain InstrumentationProbeEvents events} to any
  * {@linkplain InstrumentationProbeNode probes} that might have been attached.
  */
-public interface InstrumentationProxyNode extends InstrumentationNode {
+public interface InstrumentationProxyNode extends InstrumentationNode, PhylumMarked {
+
+    /**
+     * Gets the non-instrumentation node being proxied.
+     */
+    Node getChild();
 
     /**
      * Gets the chain of probes to which events at this node are delegated. Note that a chain of