Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLStatementWrapper.java @ 16856:7833417c8172
Changes to Instrumentation
author | David Piorkowski <david.piorkowski@oracle.com> |
---|---|
date | Mon, 18 Aug 2014 14:36:12 -0700 |
parents | 618d92152d3c |
children | 7661cc464239 |
comparison
equal
deleted
inserted
replaced
16855:226552569e34 | 16856:7833417c8172 |
---|---|
47 | 47 |
48 public SLStatementWrapper(SLContext context, SLStatementNode child) { | 48 public SLStatementWrapper(SLContext context, SLStatementNode child) { |
49 super(child.getSourceSection()); | 49 super(child.getSourceSection()); |
50 assert !(child instanceof SLStatementWrapper); | 50 assert !(child instanceof SLStatementWrapper); |
51 this.child = insert(child); | 51 this.child = insert(child); |
52 this.probe = context.getProbe(child.getSourceSection()); | 52 this.probe = context.createProbe(child.getSourceSection()); |
53 } | 53 } |
54 | 54 |
55 @Override | 55 @Override |
56 public SLStatementNode getNonWrapperNode() { | 56 public SLStatementNode getNonWrapperNode() { |
57 return child; | 57 return child; |