Mercurial > hg > truffle
changeset 14862:0e713dba33bb
Instrumentation: update probe nodes to new node API
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Thu, 27 Mar 2014 16:38:39 -0700 |
parents | 6325d3d82f1b |
children | ea712c41c5a2 0c6d8a08e31b |
files | graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/instrument/InstrumentationProbeNode.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/instrument/InstrumentationProbeNode.java Thu Mar 27 13:12:18 2014 -0700 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/instrument/InstrumentationProbeNode.java Thu Mar 27 16:38:39 2014 -0700 @@ -62,7 +62,7 @@ */ protected void internalAppendProbe(InstrumentationProbeNode newProbeNode) { if (next == null) { - this.next = newProbeNode; + this.next = insert(newProbeNode); } else { next.internalAppendProbe(newProbeNode); } @@ -75,7 +75,7 @@ if (oldProbeNode.next == null) { this.next = null; } else { - this.next = oldProbeNode.next; + this.next = insert(oldProbeNode.next); oldProbeNode.next = null; } } else {