comparison graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/tools/TestNodes.java @ 19869:1d6a7ea5de59

Truffle/Instrumentation: remove support for "probe-lite", an optimization for a particular use case that no longer seems worth the complexity.
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Mon, 16 Mar 2015 15:59:57 -0700
parents cca166aa28c0
children 2e3cc2a27711
comparison
equal deleted inserted replaced
19858:1cbbdc29ab45 19869:1d6a7ea5de59
117 this.probeNode = newProbeNode; 117 this.probeNode = newProbeNode;
118 } 118 }
119 119
120 @Override 120 @Override
121 public Probe getProbe() { 121 public Probe getProbe() {
122 try { 122 return probeNode.getProbe();
123 return probeNode.getProbe();
124 } catch (IllegalStateException e) {
125 throw new IllegalStateException("Cannot call getProbe() on a wrapper that has no probe");
126 }
127 } 123 }
128 124
129 @Override 125 @Override
130 public Node getChild() { 126 public Node getChild() {
131 return child; 127 return child;