Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLInstrumenter.java @ 16961:a1427e40deaf
Truffle/Instrumentation: some Javadoc revistions; minor code cleanups; remove one redundant operation; add tracing to the LineLocation maps.
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Tue, 26 Aug 2014 13:54:53 -0700 |
parents | 54696f15ac93 |
children | f0c3de09f12a |
comparison
equal
deleted
inserted
replaced
16955:7ef0a2355540 | 16961:a1427e40deaf |
---|---|
30 import com.oracle.truffle.sl.nodes.controlflow.*; | 30 import com.oracle.truffle.sl.nodes.controlflow.*; |
31 import com.oracle.truffle.sl.nodes.local.*; | 31 import com.oracle.truffle.sl.nodes.local.*; |
32 import com.oracle.truffle.sl.runtime.*; | 32 import com.oracle.truffle.sl.runtime.*; |
33 | 33 |
34 /** | 34 /** |
35 * This is a general purpose visitor which traverses a completely parsed Simple AST and instruments | 35 * A visitor which traverses a completely parsed Simple (not yet executed) AST and instruments some |
36 * all the nodes within it. This visitor is designed to visit the tree immediately after it has been | 36 * of them. |
37 * parsed. | |
38 * | |
39 */ | 37 */ |
40 public class SLInstrumenter implements NodeVisitor { | 38 public class SLInstrumenter implements NodeVisitor { |
41 | 39 |
42 private final SLContext context; | 40 private final SLContext context; |
43 | 41 |