final class com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback implements com.oracle.truffle.api.debug.SuspendedCallback
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback
super_class: java.lang.Object
{
private final com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo info;
descriptor: Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.llvm.tests.debug.StopRequest bpr;
descriptor: Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.String> textExpressionMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final boolean allowFailure;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo, com.oracle.truffle.llvm.tests.debug.StopRequest, java.util.Map<java.lang.String, java.lang.String>, );
descriptor: (Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;Lcom/oracle/truffle/llvm/tests/debug/StopRequest;Ljava/util/Map;Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.info:Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
2: aload 0
aload 2
putfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.bpr:Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
3: aload 0
aload 3
putfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.textExpressionMap:Ljava/util/Map;
4: aload 0
iload 4
putfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.allowFailure:Z
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$TestCallback;
0 6 1 info Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
0 6 2 bpr Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
0 6 3 textExpressionMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 6 4 allowFailure Z
Signature: (Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;Lcom/oracle/truffle/llvm/tests/debug/StopRequest;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Z)V
MethodParameters:
Name Flags
info
bpr
textExpressionMap
allowFailure
private static void setStrategy(com.oracle.truffle.api.debug.SuspendedEvent, com.oracle.truffle.api.debug.DebugStackFrame, com.oracle.truffle.llvm.tests.debug.ContinueStrategy);
descriptor: (Lcom/oracle/truffle/api/debug/SuspendedEvent;Lcom/oracle/truffle/api/debug/DebugStackFrame;Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 3
1: aload 2
aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.ContinueStrategy.prepareInEvent:(Lcom/oracle/truffle/api/debug/SuspendedEvent;Lcom/oracle/truffle/api/debug/DebugStackFrame;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.llvm.tests.debug.ContinueStrategy.STEP_INTO:Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;
aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.ContinueStrategy.prepareInEvent:(Lcom/oracle/truffle/api/debug/SuspendedEvent;Lcom/oracle/truffle/api/debug/DebugStackFrame;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 event Lcom/oracle/truffle/api/debug/SuspendedEvent;
0 5 1 frame Lcom/oracle/truffle/api/debug/DebugStackFrame;
0 5 2 strategy Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;
MethodParameters:
Name Flags
event
frame
strategy
public void onSuspend(com.oracle.truffle.api.debug.SuspendedEvent);
descriptor: (Lcom/oracle/truffle/api/debug/SuspendedEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.api.debug.SuspendedEvent.getTopStackFrame:()Lcom/oracle/truffle/api/debug/DebugStackFrame;
astore 2
start local 2 1: aload 1
invokevirtual com.oracle.truffle.api.debug.SuspendedEvent.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getStartLine:()I
istore 3
start local 3 2: iload 3
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.info:Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo.getLastStop:()I
if_icmpne 5
3: aload 1
aload 2
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.info:Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo.getLastStrategy:()Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;
invokestatic com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.setStrategy:(Lcom/oracle/truffle/api/debug/SuspendedEvent;Lcom/oracle/truffle/api/debug/DebugStackFrame;Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;)V
4: return
5: StackMap locals: com.oracle.truffle.api.debug.DebugStackFrame int
StackMap stack:
iload 3
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.bpr:Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getLine:()I
if_icmpne 10
6: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.info:Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
iload 3
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo.setLastStop:(I)V
7: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.info:Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.bpr:Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getNextAction:()Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo.setLastStrategy:(Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;)V
8: aload 1
aload 2
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.bpr:Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getNextAction:()Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;
invokestatic com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.setStrategy:(Lcom/oracle/truffle/api/debug/SuspendedEvent;Lcom/oracle/truffle/api/debug/DebugStackFrame;Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;)V
9: goto 11
10: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Unexpected stop at line %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.textExpressionMap:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 26
StackMap locals: com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback com.oracle.truffle.api.debug.SuspendedEvent com.oracle.truffle.api.debug.DebugStackFrame int top java.util.Iterator
StackMap stack:
12: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 13: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
ldc "EXCEPTION "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 19
14: aload 2
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.oracle.truffle.api.debug.DebugStackFrame.eval:(Ljava/lang/String;)Lcom/oracle/truffle/api/debug/DebugValue;
invokevirtual com.oracle.truffle.api.debug.DebugValue.asString:()Ljava/lang/String;
astore 6
start local 6 15: new java.lang.StringBuilder
dup
ldc "Evaluation of expression \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" on line "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "did evaluate to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " and did not throw expected "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
end local 6 16: goto 26
StackMap locals: com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback com.oracle.truffle.api.debug.SuspendedEvent com.oracle.truffle.api.debug.DebugStackFrame int java.util.Map$Entry java.util.Iterator
StackMap stack: com.oracle.truffle.api.debug.DebugException
17: pop
18: goto 26
19: StackMap locals:
StackMap stack:
aload 2
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.oracle.truffle.api.debug.DebugStackFrame.eval:(Ljava/lang/String;)Lcom/oracle/truffle/api/debug/DebugValue;
invokevirtual com.oracle.truffle.api.debug.DebugValue.toDisplayString:()Ljava/lang/String;
astore 6
start local 6 20: aload 6
ldc "\n"
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 7
start local 7 21: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.allowFailure:Z
ifeq 25
22: aload 7
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.CharSequence
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 25
23: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Evaluation of expression \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " on line "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "produced correct failure error."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: return
25: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Evaluation of expression \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" on line "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " produced unexpected result: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
aload 7
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 7 end local 6 end local 4 26: StackMap locals: com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback com.oracle.truffle.api.debug.SuspendedEvent com.oracle.truffle.api.debug.DebugStackFrame int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
27: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$TestCallback;
0 28 1 event Lcom/oracle/truffle/api/debug/SuspendedEvent;
1 28 2 frame Lcom/oracle/truffle/api/debug/DebugStackFrame;
2 28 3 currentLine I
13 26 4 kv Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
15 16 6 actual Ljava/lang/String;
20 26 6 actual Ljava/lang/String;
21 26 7 noNewLineActual Ljava/lang/String;
Exception table:
from to target type
14 16 17 Class com.oracle.truffle.api.debug.DebugException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
event
boolean isDone();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.info:Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$BreakInfo;
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo.getLastStop:()I
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback.bpr:Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getLine:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugExprParserTest$TestCallback;
}
SourceFile: "LLVMDebugExprParserTest.java"
NestHost: com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
private final BreakInfo = com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$BreakInfo of com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest
private final TestCallback = com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest$TestCallback of com.oracle.truffle.llvm.tests.debug.LLVMDebugExprParserTest
public abstract Entry = java.util.Map$Entry of java.util.Map