# HG changeset patch # User Michael Van De Vanter # Date 1409108562 25200 # Node ID 80fb94b07db23de2a70abbe1c9ff11dae1cce194 # Parent f0c3de09f12a90b4a600a559b8f7d25caed5ab97 Truffle/Instrumentation: rename misleading field name in ProbeImpl diff -r f0c3de09f12a -r 80fb94b07db2 graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/InstrumentationNode.java --- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/InstrumentationNode.java Tue Aug 26 19:57:25 2014 -0700 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/InstrumentationNode.java Tue Aug 26 20:02:42 2014 -0700 @@ -343,18 +343,18 @@ * {@link Node#getSourceSection()}, which is {@code null} for all instances of * {@link InstrumentationNode} since they have no corresponding source of their own. */ - private final SourceSection source; + private final SourceSection probedSourceSection; /** * Constructor. * - * @param source The {@link SourceSection} associated with this probe. + * @param probedSourceSection The {@link SourceSection} associated with this probe. * @param probeCallback The {@link ProbeCallback} to inform when tags have been added to * this probe. */ - private ProbeImpl(SourceSection source, ProbeCallback probeCallback) { + private ProbeImpl(SourceSection probedSourceSection, ProbeCallback probeCallback) { this.probeCallback = probeCallback; - this.source = source; + this.probedSourceSection = probedSourceSection; this.probeUnchanged = Truffle.getRuntime().createAssumption(); this.next = null; } @@ -363,7 +363,7 @@ * Returns the {@link SourceSection} associated with this probe. */ public SourceSection getSourceLocation() { - return source; + return probedSourceSection; } /**