Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLStatementWrapperNode.java @ 19876: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 |
comparison
equal
deleted
inserted
replaced
19865:1cbbdc29ab45 | 19876:1d6a7ea5de59 |
---|---|
63 public void insertProbe(ProbeNode newProbeNode) { | 63 public void insertProbe(ProbeNode newProbeNode) { |
64 this.probeNode = newProbeNode; | 64 this.probeNode = newProbeNode; |
65 } | 65 } |
66 | 66 |
67 public Probe getProbe() { | 67 public Probe getProbe() { |
68 try { | 68 return probeNode.getProbe(); |
69 return probeNode.getProbe(); | |
70 } catch (IllegalStateException e) { | |
71 throw new IllegalStateException("A lite-Probed wrapper has no explicit Probe"); | |
72 } | |
73 } | 69 } |
74 | 70 |
75 @Override | 71 @Override |
76 public Node getChild() { | 72 public Node getChild() { |
77 return child; | 73 return child; |