|
297 | 297 | import com.oracle.truffle.api.nodes.ControlFlowException;
|
298 | 298 | import com.oracle.truffle.api.nodes.ExplodeLoop;
|
299 | 299 | import com.oracle.truffle.api.nodes.LoopNode;
|
300 |
| -import com.oracle.truffle.api.source.Source; |
301 | 300 | import com.oracle.truffle.api.source.SourceSection;
|
302 | 301 | import com.oracle.truffle.espresso.EspressoLanguage;
|
303 | 302 | import com.oracle.truffle.espresso.analysis.liveness.LivenessAnalysis;
|
304 | 303 | import com.oracle.truffle.espresso.bytecode.MapperBCI;
|
305 | 304 | import com.oracle.truffle.espresso.classfile.ConstantPool;
|
306 | 305 | import com.oracle.truffle.espresso.classfile.ExceptionHandler;
|
307 | 306 | import com.oracle.truffle.espresso.classfile.JavaKind;
|
308 |
| -import com.oracle.truffle.espresso.classfile.attributes.BootstrapMethodsAttribute; |
309 | 307 | import com.oracle.truffle.espresso.classfile.attributes.LineNumberTableAttribute;
|
310 | 308 | import com.oracle.truffle.espresso.classfile.bytecode.BytecodeLookupSwitch;
|
311 | 309 | import com.oracle.truffle.espresso.classfile.bytecode.BytecodeStream;
|
@@ -485,10 +483,6 @@ public FrameDescriptor getFrameDescriptor() {
|
485 | 483 | return frameDescriptor;
|
486 | 484 | }
|
487 | 485 |
|
488 |
| - Source getSource() { |
489 |
| - return getMethodVersion().getMethod().getSource(); |
490 |
| - } |
491 |
| - |
492 | 486 | public SourceSection getSourceSectionAtBCI(int bci) {
|
493 | 487 | return getMethodVersion().getSourceSectionAtBCI(bci);
|
494 | 488 | }
|
@@ -2119,11 +2113,6 @@ private RuntimeConstantPool getConstantPool() {
|
2119 | 2113 | return getMethodVersion().getPool();
|
2120 | 2114 | }
|
2121 | 2115 |
|
2122 |
| - @TruffleBoundary |
2123 |
| - private BootstrapMethodsAttribute getBootstrapMethods() { |
2124 |
| - return (BootstrapMethodsAttribute) (getDeclaringKlass()).getAttribute(BootstrapMethodsAttribute.NAME); |
2125 |
| - } |
2126 |
| - |
2127 | 2116 | // region Bytecode quickening
|
2128 | 2117 |
|
2129 | 2118 | private char readCPI(int curBCI) {
|
|
0 commit comments