Mercurial > hg > truffle
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapperNode.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 | b5467bb34b24 |
children | c0455554d45b |
comparison
equal
deleted
inserted
replaced
19858:1cbbdc29ab45 | 19869:1d6a7ea5de59 |
---|---|
70 public void insertProbe(ProbeNode newProbeNode) { | 70 public void insertProbe(ProbeNode newProbeNode) { |
71 this.probeNode = newProbeNode; | 71 this.probeNode = newProbeNode; |
72 } | 72 } |
73 | 73 |
74 public Probe getProbe() { | 74 public Probe getProbe() { |
75 try { | 75 return probeNode.getProbe(); |
76 return probeNode.getProbe(); | |
77 } catch (IllegalStateException e) { | |
78 throw new IllegalStateException("A lite-Probed wrapper has no explicit Probe"); | |
79 } | |
80 } | 76 } |
81 | 77 |
82 public Node getChild() { | 78 public Node getChild() { |
83 return child; | 79 return child; |
84 } | 80 } |