comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapper.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
48 48
49 public SLExpressionWrapper(SLContext context, SLExpressionNode child) { 49 public SLExpressionWrapper(SLContext context, SLExpressionNode child) {
50 super(child.getSourceSection()); 50 super(child.getSourceSection());
51 assert !(child instanceof SLExpressionWrapper); 51 assert !(child instanceof SLExpressionWrapper);
52 this.child = insert(child); 52 this.child = insert(child);
53 this.probe = context.getProbe(child.getSourceSection()); 53 this.probe = context.createProbe(child.getSourceSection());
54 } 54 }
55 55
56 @Override 56 @Override
57 public SLExpressionNode getNonWrapperNode() { 57 public SLExpressionNode getNonWrapperNode() {
58 return child; 58 return child;