final class com.oracle.truffle.llvm.tests.debug.TraceWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.debug.TraceWriter
super_class: java.lang.Object
{
private static final java.lang.String INDENT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: " "
private final java.io.BufferedWriter writer;
descriptor: Ljava/io/BufferedWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int indentLevel;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void write(com.oracle.truffle.llvm.tests.debug.Trace, java.nio.file.Path);
descriptor: (Lcom/oracle/truffle/llvm/tests/debug/Trace;Ljava/nio/file/Path;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: new java.io.BufferedWriter
dup
new java.io.FileWriter
dup
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokespecial java.io.FileWriter.<init>:(Ljava/io/File;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 4
start local 4 2: new com.oracle.truffle.llvm.tests.debug.TraceWriter
dup
aload 4
invokespecial com.oracle.truffle.llvm.tests.debug.TraceWriter.<init>:(Ljava/io/BufferedWriter;)V
astore 5
start local 5 3: aload 5
aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitTrace:(Lcom/oracle/truffle/llvm/tests/debug/Trace;)V
4: aload 4
invokevirtual java.io.BufferedWriter.flush:()V
end local 5 5: aload 4
ifnull 13
aload 4
invokevirtual java.io.BufferedWriter.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.debug.Trace java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedWriter
StackMap stack: java.lang.Throwable
6: astore 2
aload 4
ifnull 7
aload 4
invokevirtual java.io.BufferedWriter.close:()V
end local 4 StackMap locals:
StackMap stack:
7: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
aload 2
ifnonnull 9
aload 3
astore 2
goto 10
StackMap locals:
StackMap stack:
9: aload 2
aload 3
if_acmpeq 10
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals: com.oracle.truffle.llvm.tests.debug.Trace java.nio.file.Path
StackMap stack: java.io.IOException
11: astore 2
start local 2 12: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Error while writing trace to file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 trace Lcom/oracle/truffle/llvm/tests/debug/Trace;
0 14 1 path Ljava/nio/file/Path;
2 7 4 writer Ljava/io/BufferedWriter;
3 5 5 traceWriter Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
12 13 2 e Ljava/io/IOException;
Exception table:
from to target type
2 5 6 any
1 8 8 any
0 11 11 Class java.io.IOException
MethodParameters:
Name Flags
trace
path
private void <init>(java.io.BufferedWriter);
descriptor: (Ljava/io/BufferedWriter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
2: aload 0
iconst_0
putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 4 1 writer Ljava/io/BufferedWriter;
MethodParameters:
Name Flags
writer
private void emitTrace(com.oracle.truffle.llvm.tests.debug.Trace);
descriptor: (Lcom/oracle/truffle/llvm/tests/debug/Trace;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.Trace.getHeader:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.Trace top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
aload 2
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
3: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
invokevirtual java.io.BufferedWriter.newLine:()V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.Trace.suspendOnEntry:()Z
ifeq 9
6: aload 0
ldc "SUSPEND"
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
7: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
8: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
9: StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.Trace
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.Trace.iterator:()Ljava/util/Iterator;
astore 3
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.Trace top java.util.Iterator
StackMap stack:
10: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.tests.debug.StopRequest
astore 2
start local 2 11: aload 0
aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitStop:(Lcom/oracle/truffle/llvm/tests/debug/StopRequest;)V
end local 2 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 15 1 trace Lcom/oracle/truffle/llvm/tests/debug/Trace;
2 4 2 line Ljava/lang/String;
11 12 2 stop Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
trace
private void emitStop(com.oracle.truffle.llvm.tests.debug.StopRequest);
descriptor: (Lcom/oracle/truffle/llvm/tests/debug/StopRequest;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.needsBreakPoint:()Z
ifeq 1
ldc "BREAK"
goto 2
StackMap locals:
StackMap stack: com.oracle.truffle.llvm.tests.debug.TraceWriter
1: ldc "STOP"
StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.StopRequest
StackMap stack: com.oracle.truffle.llvm.tests.debug.TraceWriter java.lang.String
2: invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
3: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getLine:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
4: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getNextAction:()Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
5: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getFunctionName:()Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
6: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.addIndentation:()V
7: aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.StopRequest top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.tests.debug.StopRequest$Scope
astore 2
start local 2 9: aload 0
aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitScope:(Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.dropIndentation:()V
12: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
13: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 15 1 stop Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
9 10 2 scope Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stop
private void emitScope(com.oracle.truffle.llvm.tests.debug.StopRequest$Scope);
descriptor: (Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "OPEN_SCOPE"
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
1: aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getName:()Ljava/lang/String;
ifnull 3
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getName:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 3
2: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getName:()Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.isPartial:()Z
ifeq 5
4: aload 0
ldc "partial"
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.addIndentation:()V
6: aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getLocals:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.StopRequest$Scope top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 8: aload 0
aload 2
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getLocals:()Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitMember:(Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;)V
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.dropIndentation:()V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 12 1 scope Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;
8 9 2 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
scope
private void emitMember(java.lang.String, com.oracle.truffle.llvm.tests.debug.LLVMDebugValue);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "MEMBER"
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
1: aload 0
aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getKind:()Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
2: aload 0
aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getExpectedType:()Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
3: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
4: aload 2
instanceof com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured
ifeq 16
5: aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.isBuggy:()Z
ifeq 7
6: aload 0
ldc "buggy"
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 2
checkcast com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured
astore 3
start local 3 8: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.addIndentation:()V
9: aload 3
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.getExpectedMembers:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter java.lang.String com.oracle.truffle.llvm.tests.debug.LLVMDebugValue com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 11: aload 0
aload 4
aload 3
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.getExpectedMembers:()Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitMember:(Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;)V
end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.dropIndentation:()V
14: aload 0
ldc "END_MEMBERS"
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
end local 3 15: goto 20
16: StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter java.lang.String com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
StackMap stack:
aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getExpectedDisplayValue:()Ljava/lang/String;
ifnull 18
17: aload 0
aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getExpectedDisplayValue:()Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.isBuggy:()Z
ifeq 20
19: aload 0
ldc "buggy"
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 21 1 name Ljava/lang/String;
0 21 2 value Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;
8 15 3 structured Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
11 12 4 memberName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
value
private void addIndentation();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
iconst_1
iadd
putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
private void dropIndentation();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
iconst_1
isub
putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
private void appendEscaped(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
ldc " \""
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
1: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
2: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
ldc "\""
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 4 1 word Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
word
private void appendUnescaped(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
ldc " "
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
1: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
aload 1
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 3 1 word Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
word
private void newLine(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.writeIndentation:()V
1: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
aload 1
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
0 3 1 cmd Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cmd
private void writeIndentation();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
ldc " "
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
if_icmplt 3
end local 1 6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
2 6 1 i I
Exceptions:
throws java.io.IOException
private void newLine();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
invokevirtual java.io.BufferedWriter.newLine:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
Exceptions:
throws java.io.IOException
}
SourceFile: "TraceWriter.java"
InnerClasses:
final Structured = com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured of com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
final Scope = com.oracle.truffle.llvm.tests.debug.StopRequest$Scope of com.oracle.truffle.llvm.tests.debug.StopRequest