comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java @ 20105:e73096245a4c

Truffle/Instrumentation: the Instrument code now has access to Probe.invalidateProbeUnchanged, needed for attaching AST instrumentation.
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 31 Mar 2015 18:58:36 -0700
parents 907128d02b31
children f166d264af9f
comparison
equal deleted inserted replaced
20104:d7c48ee7ed4b 20105:e73096245a4c
334 // Get the assumption associated with the new probe state 334 // Get the assumption associated with the new probe state
335 this.probeStateUnchangedAssumption = probeStateUnchangedCyclic.getAssumption(); 335 this.probeStateUnchangedAssumption = probeStateUnchangedCyclic.getAssumption();
336 } 336 }
337 } 337 }
338 338
339 private void invalidateProbeUnchanged() { 339 void invalidateProbeUnchanged() {
340 probeStateUnchangedCyclic.invalidate(); 340 probeStateUnchangedCyclic.invalidate();
341 } 341 }
342 342
343 private void notifyTrapSet() { 343 private void notifyTrapSet() {
344 this.isTrapActive = tagTrap != null && this.isTaggedAs(tagTrap.getTag()); 344 this.isTrapActive = tagTrap != null && this.isTaggedAs(tagTrap.getTag());