public class com.oracle.svm.hosted.c.codegen.QueryCodeWriter extends com.oracle.svm.hosted.c.info.InfoTreeVisitor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.hosted.c.codegen.QueryCodeWriter
super_class: com.oracle.svm.hosted.c.info.InfoTreeVisitor
{
private static final java.lang.String formatFloat;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "%.15e"
private static final java.lang.String formatString;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "$%s$"
private final com.oracle.svm.hosted.c.codegen.CSourceCodeWriter writer;
descriptor: Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.Object> elementForLineNumber;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Object;>;
private final boolean isWindows;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String formatSInt64;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String formatUInt64;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String formatUInt64Hex;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String uInt64;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String sInt64;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$com$oracle$svm$hosted$c$info$SizableInfo$ElementKind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.svm.hosted.c.info.InfoTreeVisitor.<init>:()V
1: aload 0
new com.oracle.svm.hosted.c.codegen.CSourceCodeWriter
dup
aload 1
invokespecial com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.<init>:(Ljava/nio/file/Path;)V
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.elementForLineNumber:Ljava/util/List;
3: aload 0
ldc Lorg/graalvm/nativeimage/Platform$WINDOWS;
invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.isWindows:Z
4: new java.lang.StringBuilder
dup
ldc "%"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.isWindows:Z
ifeq 5
ldc "ll"
goto 6
StackMap locals: com.oracle.svm.hosted.c.codegen.QueryCodeWriter java.nio.file.Path
StackMap stack: java.lang.StringBuilder
5: ldc "l"
StackMap locals: com.oracle.svm.hosted.c.codegen.QueryCodeWriter java.nio.file.Path
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 7: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "d"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.formatSInt64:Ljava/lang/String;
8: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "u"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.formatUInt64:Ljava/lang/String;
9: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "X"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.formatUInt64Hex:Ljava/lang/String;
10: aload 0
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.isWindows:Z
iconst_1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.int64:(ZZ)Ljava/lang/String;
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
11: aload 0
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.isWindows:Z
iconst_0
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.int64:(ZZ)Ljava/lang/String;
putfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sInt64:Ljava/lang/String;
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 13 1 tempDirectory Ljava/nio/file/Path;
7 13 2 formatL64 Ljava/lang/String;
MethodParameters:
Name Flags
tempDirectory
private static java.lang.String int64(boolean, boolean);
descriptor: (ZZ)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
iload 1
ifeq 1
ldc "unsigned "
goto 2
StackMap locals: int int
StackMap stack: new 0 new 0
1: ldc ""
StackMap locals: int int
StackMap stack: new 0 new 0 java.lang.String
2: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
ifeq 3
ldc "long long"
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
3: ldc "long"
StackMap locals: int int
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 isWindows Z
0 5 1 unsigned Z
MethodParameters:
Name Flags
isWindows
unsigned
public java.nio.file.Path write(com.oracle.svm.hosted.c.info.NativeCodeInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/NativeCodeInfo;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.svm.hosted.c.info.NativeCodeInfo.accept:(Lcom/oracle/svm/hosted/c/info/InfoTreeVisitor;)V
1: ldc ".c"
astore 2
start local 2 2: new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.NativeCodeInfo.getName:()Ljava/lang/String;
ldc "\\W"
ldc "_"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 3: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
aload 3
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.writeFile:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 4 1 nativeCodeInfo Lcom/oracle/svm/hosted/c/info/NativeCodeInfo;
2 4 2 srcFileExtension Ljava/lang/String;
3 4 3 sourceFileName Ljava/lang/String;
MethodParameters:
Name Flags
nativeCodeInfo
public java.lang.Object getElementForLineNumber(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
isub
istore 2
start local 2 1: iload 2
iflt 3
iload 2
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.elementForLineNumber:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 3
2: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.elementForLineNumber:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
3: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 4 1 lineNumber I
1 4 2 index I
MethodParameters:
Name Flags
lineNumber
public java.lang.String getLine(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
iload 1
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.getLine:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 1 1 lineNumber I
MethodParameters:
Name Flags
lineNumber
protected void visitNativeCodeInfo(com.oracle.svm.hosted.c.info.NativeCodeInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/NativeCodeInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.svm.hosted.c.info.NativeCodeInfo.getDirectives:()Lorg/graalvm/nativeimage/c/CContext$Directives;
astore 2
start local 2 1: aload 2
invokeinterface org.graalvm.nativeimage.c.CContext$Directives.getMacroDefinitions:()Ljava/util/List;
astore 3
start local 3 2: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 5
3: aload 3
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/svm/hosted/c/codegen/CSourceCodeWriter.appendMacroDefinition(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
4: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:()V
5: StackMap locals: org.graalvm.nativeimage.c.CContext$Directives java.util.List
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "<stdio.h>"
aastore
dup
iconst_1
ldc "<stddef.h>"
aastore
dup
iconst_2
ldc "<memory.h>"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.includeFiles:(Ljava/util/List;)V
6: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.writeCStandardHeaders:()V
7: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:()V
8: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.isWindows:Z
ifeq 15
9: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "#ifndef bool"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
10: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "#define bool char"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
11: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "#define false ((bool)0)"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
12: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "#define true ((bool)1)"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
13: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "#endif"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
14: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc ""
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 2
instanceof com.oracle.svm.hosted.c.DirectivesExtension
ifeq 20
16: aload 2
checkcast com.oracle.svm.hosted.c.DirectivesExtension
invokeinterface com.oracle.svm.hosted.c.DirectivesExtension.getHeaderSnippet:()Ljava/util/List;
astore 5
start local 5 17: aload 5
invokeinterface java.util.List.isEmpty:()Z
ifne 20
18: aload 5
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/svm/hosted/c/codegen/CSourceCodeWriter.appendln(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
19: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:()V
end local 5 20: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.graalvm.nativeimage.c.CContext$Directives.getHeaderFiles:()Ljava/util/List;
astore 5
start local 5 21: aload 5
invokeinterface java.util.List.isEmpty:()Z
ifne 24
22: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
aload 5
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.includeFiles:(Ljava/util/List;)V
23: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:()V
24: StackMap locals: com.oracle.svm.hosted.c.codegen.QueryCodeWriter com.oracle.svm.hosted.c.info.NativeCodeInfo org.graalvm.nativeimage.c.CContext$Directives java.util.List top java.util.List
StackMap stack:
aload 1
invokevirtual com.oracle.svm.hosted.c.info.NativeCodeInfo.getName:()Ljava/lang/String;
ldc "\\W"
ldc "_"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 25: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc "int "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "() {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
26: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indent:()V
27: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.processChildren:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)V
28: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "return 0;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
29: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.outdent:()V
30: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "}"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
31: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:()V
32: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "int main(void) {"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
33: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indent:()V
34: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc "return "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "();"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
35: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.outdent:()V
36: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "}"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
37: return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 38 1 nativeCodeInfo Lcom/oracle/svm/hosted/c/info/NativeCodeInfo;
1 38 2 directives Lorg/graalvm/nativeimage/c/CContext$Directives;
2 38 3 macroDefinitions Ljava/util/List<Ljava/lang/String;>;
17 20 5 headerSnippet Ljava/util/List<Ljava/lang/String;>;
21 38 5 headerFiles Ljava/util/List<Ljava/lang/String;>;
25 38 6 functionName Ljava/lang/String;
MethodParameters:
Name Flags
nativeCodeInfo
protected void visitConstantInfo(com.oracle.svm.hosted.c.info.ConstantInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/ConstantInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.$SWITCH_TABLE$com$oracle$svm$hosted$c$info$SizableInfo$ElementKind:()[I
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getKind:()Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 1
2: 5
3: 8
4: 11
5: 11
default: 13
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getSizeInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOf:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
2: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getSignednessInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getName:()Ljava/lang/String;
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.isConstUnsigned:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printIsUnsigned:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
3: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getValueInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getName:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printLongHex:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
4: goto 14
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getSizeInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOf:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
6: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getValueInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getName:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printLongHex:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
7: goto 14
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getSizeInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOf:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
9: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getValueInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getName:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printFloat:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getValueInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ConstantInfo.getName:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printString:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
12: goto 14
13: StackMap locals:
StackMap stack:
invokestatic com.oracle.svm.core.util.VMError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 15 1 constantInfo Lcom/oracle/svm/hosted/c/info/ConstantInfo;
MethodParameters:
Name Flags
constantInfo
protected void visitStructInfo(com.oracle.svm.hosted.c.info.StructInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/StructInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructInfo.isIncomplete:()Z
ifne 2
1: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructInfo.getSizeInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOf:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.processChildren:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 4 1 structInfo Lcom/oracle/svm/hosted/c/info/StructInfo;
MethodParameters:
Name Flags
structInfo
protected void visitRawStructureInfo(com.oracle.svm.hosted.c.info.RawStructureInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/RawStructureInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 1 1 info Lcom/oracle/svm/hosted/c/info/RawStructureInfo;
MethodParameters:
Name Flags
info
protected void visitStructFieldInfo(com.oracle.svm.hosted.c.info.StructFieldInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/StructFieldInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getSizeInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOfField:(Lcom/oracle/svm/hosted/c/info/StructFieldInfo;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getOffsetInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.offsetOfField:(Lcom/oracle/svm/hosted/c/info/StructFieldInfo;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
2: aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getKind:()Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.INTEGER:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
if_acmpne 15
3: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getParent:()Lcom/oracle/svm/hosted/c/info/ElementInfo;
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
4: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "{"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
5: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indent:()V
6: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "int is_unsigned;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
7: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " all_bits_set = -1;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
8: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getParent:()Lcom/oracle/svm/hosted/c/info/ElementInfo;
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " fieldHolder;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
9: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "memset(&fieldHolder, 0x0, sizeof(fieldHolder));"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
10: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc "fieldHolder."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = all_bits_set;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
11: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc "is_unsigned = fieldHolder."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " > 0;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
12: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getSignednessInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
ldc "is_unsigned"
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printIsUnsigned:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
13: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.outdent:()V
14: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "}"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 16 1 fieldInfo Lcom/oracle/svm/hosted/c/info/StructFieldInfo;
MethodParameters:
Name Flags
fieldInfo
protected void visitStructBitfieldInfo(com.oracle.svm.hosted.c.info.StructBitfieldInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/StructBitfieldInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getParent:()Lcom/oracle/svm/hosted/c/info/ElementInfo;
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getName:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "{"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
3: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indent:()V
4: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "struct _w {"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
5: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getParent:()Lcom/oracle/svm/hosted/c/info/ElementInfo;
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
6: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " s;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
7: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sInt64:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " pad;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
8: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "} w;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
9: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "int is_unsigned;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
10: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "char *p;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
11: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "unsigned int byte_offset;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
12: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "int start_bit, end_bit;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
13: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " v;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
14: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " all_bits_set = -1;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
15: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "memset(&w, 0x0, sizeof(w));"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
16: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
17: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc "w.s."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = all_bits_set;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
18: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc "is_unsigned = w.s."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " > 0;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
19: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "p = (char*)&w.s;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
20: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "byte_offset = 0;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
21: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "while (byte_offset < sizeof(w.s) && *(p + byte_offset) == 0) {"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
22: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " byte_offset++;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
23: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "}"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
24: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "start_bit = 0, end_bit = 0;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
25: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "if (byte_offset >= sizeof(w.s)) {"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
26: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " start_bit = end_bit = -1;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
27: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "} else {"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
28: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
ldc " v = *(("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "*) (p + byte_offset));"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
29: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " while ((v & 0x1) == 0) {"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
30: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " start_bit++;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
31: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " v = v >> 1;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
32: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " }"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
33: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " end_bit = start_bit;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
34: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " while (v != 1) {"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
35: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " end_bit++;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
36: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " v = v >> 1;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
37: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc " }"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
38: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "}"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
39: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getByteOffsetInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
ldc "byte_offset"
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
40: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getStartBitInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
ldc "start_bit"
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printSignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
41: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getEndBitInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
ldc "end_bit"
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printSignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
42: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.StructBitfieldInfo.getSignednessInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
ldc "is_unsigned"
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printIsUnsigned:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
43: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.outdent:()V
44: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "}"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
45: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 46 1 bitfieldInfo Lcom/oracle/svm/hosted/c/info/StructBitfieldInfo;
1 46 2 structName Ljava/lang/String;
2 46 3 bitfieldName Ljava/lang/String;
MethodParameters:
Name Flags
bitfieldInfo
protected void visitPointerToInfo(com.oracle.svm.hosted.c.info.PointerToInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/PointerToInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOf:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual com.oracle.svm.hosted.c.info.PointerToInfo.getKind:()Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.POINTER:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
if_acmpne 4
aload 1
invokevirtual com.oracle.svm.hosted.c.info.PointerToInfo.getName:()Ljava/lang/String;
ldc "struct "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
2: ldc "sizeof(void *)"
astore 2
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOf:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
astore 2
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.PointerToInfo.getSizeInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 2
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
6: aload 1
invokevirtual com.oracle.svm.hosted.c.info.PointerToInfo.getKind:()Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.INTEGER:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
if_acmpne 17
7: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.PointerToInfo.getAnnotatedElement:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
8: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "{"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
9: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indent:()V
10: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "int is_unsigned;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
11: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " all_bits_set = -1;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
12: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.PointerToInfo.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " fieldHolder = all_bits_set;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
13: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "is_unsigned = fieldHolder > 0;"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
14: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.PointerToInfo.getSignednessInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
ldc "is_unsigned"
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printIsUnsigned:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
15: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.outdent:()V
16: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
ldc "}"
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.appendln:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 18 1 pointerToInfo Lcom/oracle/svm/hosted/c/info/PointerToInfo;
1 18 2 sizeOfExpr Ljava/lang/String;
MethodParameters:
Name Flags
pointerToInfo
protected void visitEnumConstantInfo(com.oracle.svm.hosted.c.info.EnumConstantInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/EnumConstantInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual com.oracle.svm.hosted.c.info.EnumConstantInfo.getKind:()Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.INTEGER:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.EnumConstantInfo.getSizeInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sizeOf:(Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printUnsignedLong:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
2: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.EnumConstantInfo.getSignednessInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokevirtual com.oracle.svm.hosted.c.info.EnumConstantInfo.getName:()Ljava/lang/String;
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.isConstUnsigned:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printIsUnsigned:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
3: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.EnumConstantInfo.getValueInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
aload 1
invokevirtual com.oracle.svm.hosted.c.info.EnumConstantInfo.getName:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printLongHex:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 5 1 constantInfo Lcom/oracle/svm/hosted/c/info/EnumConstantInfo;
MethodParameters:
Name Flags
constantInfo
private void printString(com.oracle.svm.hosted.c.info.ElementInfo, java.lang.String);
descriptor: (Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
1: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getUniqueID:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "$%s$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.printf:(Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.semicolon:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 3 1 info Lcom/oracle/svm/hosted/c/info/ElementInfo;
0 3 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
info
arg
private static java.lang.String cast(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "(("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 targetType Ljava/lang/String;
0 1 1 value Ljava/lang/String;
MethodParameters:
Name Flags
targetType
value
private void printSignedLong(com.oracle.svm.hosted.c.info.ElementInfo, java.lang.String);
descriptor: (Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
1: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getUniqueID:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.formatSInt64:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.sInt64:Ljava/lang/String;
aload 2
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.cast:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.printf:(Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.semicolon:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 3 1 info Lcom/oracle/svm/hosted/c/info/ElementInfo;
0 3 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
info
arg
private void printUnsignedLong(com.oracle.svm.hosted.c.info.ElementInfo, java.lang.String);
descriptor: (Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
1: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getUniqueID:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.formatUInt64:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
aload 2
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.cast:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.printf:(Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.semicolon:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 3 1 info Lcom/oracle/svm/hosted/c/info/ElementInfo;
0 3 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
info
arg
private void printLongHex(com.oracle.svm.hosted.c.info.ElementInfo, java.lang.String);
descriptor: (Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
1: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getUniqueID:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.formatUInt64Hex:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.uInt64:Ljava/lang/String;
aload 2
invokestatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.cast:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.printf:(Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.semicolon:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 3 1 info Lcom/oracle/svm/hosted/c/info/ElementInfo;
0 3 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
info
arg
private void printFloat(com.oracle.svm.hosted.c.info.ElementInfo, java.lang.String);
descriptor: (Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getAnnotatedElement:()Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.registerElementForCurrentLine:(Ljava/lang/Object;)V
1: aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.indents:()Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
new java.lang.StringBuilder
dup
aload 1
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getUniqueID:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "%.15e"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.printf:(Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.semicolon:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 3 1 info Lcom/oracle/svm/hosted/c/info/ElementInfo;
0 3 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
info
arg
private void printIsUnsigned(com.oracle.svm.hosted.c.info.ElementInfo, java.lang.String);
descriptor: (Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") ? \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic com.oracle.svm.hosted.c.info.SizableInfo$SignednessValue.UNSIGNED:Lcom/oracle/svm/hosted/c/info/SizableInfo$SignednessValue;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$SignednessValue.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" : \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic com.oracle.svm.hosted.c.info.SizableInfo$SignednessValue.SIGNED:Lcom/oracle/svm/hosted/c/info/SizableInfo$SignednessValue;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$SignednessValue.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.c.codegen.QueryCodeWriter.printString:(Lcom/oracle/svm/hosted/c/info/ElementInfo;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 2 1 info Lcom/oracle/svm/hosted/c/info/ElementInfo;
0 2 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
info
arg
private static java.lang.String sizeOf(com.oracle.svm.hosted.c.info.ElementInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/ElementInfo;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "void"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
ldc "1"
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: new java.lang.StringBuilder
dup
ldc "sizeof("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 element Lcom/oracle/svm/hosted/c/info/ElementInfo;
1 4 1 elementName Ljava/lang/String;
MethodParameters:
Name Flags
element
private static java.lang.String sizeOfField(com.oracle.svm.hosted.c.info.StructFieldInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/StructFieldInfo;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "sizeof((("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getParent:()Lcom/oracle/svm/hosted/c/info/ElementInfo;
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " *) 0)->"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Lcom/oracle/svm/hosted/c/info/StructFieldInfo;
MethodParameters:
Name Flags
field
private static java.lang.String offsetOfField(com.oracle.svm.hosted.c.info.StructFieldInfo);
descriptor: (Lcom/oracle/svm/hosted/c/info/StructFieldInfo;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "offsetof("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getParent:()Lcom/oracle/svm/hosted/c/info/ElementInfo;
invokevirtual com.oracle.svm.hosted.c.info.ElementInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Lcom/oracle/svm/hosted/c/info/StructFieldInfo;
MethodParameters:
Name Flags
field
private static java.lang.String isConstUnsigned(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">=0 ? 1 : 0)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 symbolName Ljava/lang/String;
MethodParameters:
Name Flags
symbolName
private void registerElementForCurrentLine(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.writer:Lcom/oracle/svm/hosted/c/codegen/CSourceCodeWriter;
invokevirtual com.oracle.svm.hosted.c.codegen.CSourceCodeWriter.currentLineNumber:()I
istore 2
start local 2 2: goto 4
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.elementForLineNumber:Ljava/util/List;
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.elementForLineNumber:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 2
if_icmple 3
5: getstatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.$assertionsDisabled:Z
ifne 6
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.elementForLineNumber:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnull 6
new java.lang.AssertionError
dup
ldc "element already registered for this line"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.c.codegen.QueryCodeWriter.elementForLineNumber:Ljava/util/List;
iload 2
aload 1
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/svm/hosted/c/codegen/QueryCodeWriter;
0 8 1 element Ljava/lang/Object;
2 8 2 currentLineNumber I
MethodParameters:
Name Flags
element
static int[] $SWITCH_TABLE$com$oracle$svm$hosted$c$info$SizableInfo$ElementKind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.$SWITCH_TABLE$com$oracle$svm$hosted$c$info$SizableInfo$ElementKind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.values:()[Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.BYTEARRAY:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
iconst_5
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.FLOAT:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.INTEGER:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.OBJECT:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
bipush 6
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.POINTER:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.STRING:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
iconst_4
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.UNKNOWN:Lcom/oracle/svm/hosted/c/info/SizableInfo$ElementKind;
invokevirtual com.oracle.svm.hosted.c.info.SizableInfo$ElementKind.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic com.oracle.svm.hosted.c.codegen.QueryCodeWriter.$SWITCH_TABLE$com$oracle$svm$hosted$c$info$SizableInfo$ElementKind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
}
SourceFile: "QueryCodeWriter.java"
InnerClasses:
public final ElementKind = com.oracle.svm.hosted.c.info.SizableInfo$ElementKind of com.oracle.svm.hosted.c.info.SizableInfo
public final SignednessValue = com.oracle.svm.hosted.c.info.SizableInfo$SignednessValue of com.oracle.svm.hosted.c.info.SizableInfo
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract WINDOWS = org.graalvm.nativeimage.Platform$WINDOWS of org.graalvm.nativeimage.Platform
public abstract Directives = org.graalvm.nativeimage.c.CContext$Directives of org.graalvm.nativeimage.c.CContext