public final class org.graalvm.compiler.replacements.nodes.AssertionNode extends org.graalvm.compiler.nodes.FixedWithNextNode implements org.graalvm.compiler.nodes.spi.Lowerable, org.graalvm.compiler.graph.spi.Canonicalizable, org.graalvm.compiler.nodes.spi.LIRLowerable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.replacements.nodes.AssertionNode
super_class: org.graalvm.compiler.nodes.FixedWithNextNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.AssertionNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/replacements/nodes/AssertionNode;>;
org.graalvm.compiler.nodes.ValueNode condition;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
org.graalvm.compiler.nodes.ValueNode l1;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
org.graalvm.compiler.nodes.ValueNode l2;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
protected final boolean compileTimeAssertion;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String message;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
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 Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
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 org.graalvm.compiler.replacements.nodes.AssertionNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.replacements.nodes.AssertionNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(boolean, org.graalvm.compiler.nodes.ValueNode, java.lang.String, java.lang.Object, java.lang.Object, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (ZLorg/graalvm/compiler/nodes/ValueNode;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
getstatic org.graalvm.compiler.replacements.nodes.AssertionNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forVoid:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokespecial org.graalvm.compiler.nodes.FixedWithNextNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;)V
1: aload 0
aload 2
putfield org.graalvm.compiler.replacements.nodes.AssertionNode.condition:Lorg/graalvm/compiler/nodes/ValueNode;
2: aload 0
iload 1
putfield org.graalvm.compiler.replacements.nodes.AssertionNode.compileTimeAssertion:Z
3: aload 0
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.graalvm.compiler.replacements.nodes.AssertionNode.message:Ljava/lang/String;
4: aload 0
aload 6
putfield org.graalvm.compiler.replacements.nodes.AssertionNode.l1:Lorg/graalvm/compiler/nodes/ValueNode;
5: aload 0
aload 7
putfield org.graalvm.compiler.replacements.nodes.AssertionNode.l2:Lorg/graalvm/compiler/nodes/ValueNode;
6: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
0 7 1 compileTimeAssertion Z
0 7 2 condition Lorg/graalvm/compiler/nodes/ValueNode;
0 7 3 message Ljava/lang/String;
0 7 4 msgArg1 Ljava/lang/Object;
0 7 5 msgArg2 Ljava/lang/Object;
0 7 6 l1 Lorg/graalvm/compiler/nodes/ValueNode;
0 7 7 l2 Lorg/graalvm/compiler/nodes/ValueNode;
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
3:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
4:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
5:
6:
MethodParameters:
Name Flags
compileTimeAssertion
condition
message
msgArg1
msgArg2
l1
l2
public org.graalvm.compiler.nodes.ValueNode getL1();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.l1:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
public org.graalvm.compiler.nodes.ValueNode getL2();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.l2:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
public org.graalvm.compiler.nodes.ValueNode condition();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.condition:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
public java.lang.String message();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.message:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
public org.graalvm.compiler.graph.Node canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;)Lorg/graalvm/compiler/graph/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.condition:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 2
aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.condition:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
0 3 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
MethodParameters:
Name Flags
tool
public void lower(org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.compileTimeAssertion:Z
ifne 5
1: getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.AssertionNode.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 4
2: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.AssertionNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.removeFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLowerer:()Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
aload 0
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringProvider.lower:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
0 6 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
MethodParameters:
Name Flags
tool
public void generate(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.nodes.AssertionNode.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.compileTimeAssertion:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.AssertionNode.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.condition:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 6
4: aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.condition:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
ifne 7
5: new org.graalvm.compiler.debug.GraalError
dup
ldc "%s: failed compile-time assertion: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.message:Ljava/lang/String;
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
ldc "%s: failed compile-time assertion (value %s): %s. Condition must be constant."
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.condition:Lorg/graalvm/compiler/nodes/ValueNode;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.replacements.nodes.AssertionNode.message:Ljava/lang/String;
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/replacements/nodes/AssertionNode;
0 8 1 generator Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
MethodParameters:
Name Flags
generator
public static native void assertion(boolean, boolean, java.lang.String, java.lang.Object, java.lang.Object, long, long);
descriptor: (ZZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;JJ)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
3:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
4:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
5:
6:
MethodParameters:
Name Flags
compileTimeAssertion
condition
message
msgArg1
msgArg2
arg1
arg2
public static void staticAssert(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
iload 0
aload 1
ldc ""
ldc ""
lconst_0
lconst_0
invokestatic org.graalvm.compiler.replacements.nodes.AssertionNode.assertion:(ZZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;JJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 condition Z
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
condition
message
public static void staticAssert(boolean, java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
iload 0
aload 1
aload 2
aload 3
lconst_0
lconst_0
invokestatic org.graalvm.compiler.replacements.nodes.AssertionNode.assertion:(ZZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;JJ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 condition Z
0 2 1 message Ljava/lang/String;
0 2 2 msgArg1 Ljava/lang/Object;
0 2 3 msgArg2 Ljava/lang/Object;
MethodParameters:
Name Flags
condition
message
msgArg1
msgArg2
public static void dynamicAssert(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
iload 0
aload 1
ldc ""
ldc ""
lconst_0
lconst_0
invokestatic org.graalvm.compiler.replacements.nodes.AssertionNode.assertion:(ZZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;JJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 condition Z
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
condition
message
public static void dynamicAssert(boolean, java.lang.String, long, long);
descriptor: (ZLjava/lang/String;JJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: iconst_0
iload 0
aload 1
ldc ""
ldc ""
lload 2
lload 4
invokestatic org.graalvm.compiler.replacements.nodes.AssertionNode.assertion:(ZZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;JJ)V
1: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 condition Z
0 2 1 message Ljava/lang/String;
0 2 2 arg1 J
0 2 4 arg2 J
MethodParameters:
Name Flags
condition
message
arg1
arg2
}
SourceFile: "AssertionNode.java"
InnerClasses:
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract Input = org.graalvm.compiler.graph.Node$Input of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeSize;)