Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.tools.test/src/com/oracle/truffle/tools/test/TestNodes.java @ 22220:20380d1d41f2
Truffle/Instrumentation: second merge of instrumentation code into the TruffleVM framework
- deprecate Node.isInstrumentable() and Node.createWrapperNode(), now Instrumenter methods
- Instrumenter uses new Accessor methods to delegate implementation to TruffleLanguage implementations
- rework many instrumentation-related tests
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Thu, 17 Sep 2015 21:23:57 -0700 |
parents | 1c0f490984d5 |
children |
comparison
equal
deleted
inserted
replaced
22219:1c0f490984d5 | 22220:20380d1d41f2 |
---|---|
104 | 104 |
105 public TestLanguageNode(SourceSection srcSection) { | 105 public TestLanguageNode(SourceSection srcSection) { |
106 super(srcSection); | 106 super(srcSection); |
107 } | 107 } |
108 | 108 |
109 @SuppressWarnings("deprecation") | |
109 @Override | 110 @Override |
110 public boolean isInstrumentable() { | 111 public boolean isInstrumentable() { |
111 return true; | 112 return true; |
112 } | 113 } |
113 | 114 |
115 @SuppressWarnings("deprecation") | |
114 @Override | 116 @Override |
115 public WrapperNode createWrapperNode() { | 117 public WrapperNode createWrapperNode() { |
116 return new TestWrapperNode(this); | 118 return new TestWrapperNode(this); |
117 } | 119 } |
118 } | 120 } |