public abstract class com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode extends com.oracle.truffle.js.nodes.unary.JSUnaryNode implements com.oracle.truffle.js.nodes.Truncatable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode
super_class: com.oracle.truffle.js.nodes.unary.JSUnaryNode
{
private final boolean isAddition;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
boolean truncate;
descriptor: Z
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
protected void <init>(com.oracle.truffle.js.nodes.JavaScriptNode, boolean, boolean);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;ZZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial com.oracle.truffle.js.nodes.unary.JSUnaryNode.<init>:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
1: aload 0
iload 2
putfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
2: aload 0
iload 3
putfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.truncate:Z
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
0 4 1 operand Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 4 2 isAddition Z
0 4 3 truncate Z
MethodParameters:
Name Flags
operand
isAddition
truncate
public boolean hasTag(java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/oracle/truffle/js/nodes/instrumentation/JSTags$UnaryOperationTag;
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.js.nodes.unary.JSUnaryNode.hasTag:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
0 3 1 tag Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;
Signature: (Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;)Z
MethodParameters:
Name Flags
tag
public java.lang.Object getNodeObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "operator"
aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
ifeq 1
ldc "++"
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: ldc "--"
StackMap locals: com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode
StackMap stack: java.lang.String java.lang.String
2: invokestatic com.oracle.truffle.js.nodes.instrumentation.JSTags.createNodeObjectDescriptor:(Ljava/lang/String;Ljava/lang/Object;)Lcom/oracle/truffle/js/nodes/instrumentation/NodeObjectDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
protected int doInt(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.truncate:Z
ifeq 4
1: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
ifeq 2
iload 1
iconst_1
iadd
goto 3
StackMap locals:
StackMap stack:
2: iload 1
iconst_1
isub
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
ifeq 5
iload 1
iconst_1
invokestatic java.lang.Math.addExact:(II)I
goto 6
StackMap locals:
StackMap stack:
5: iload 1
iconst_1
invokestatic java.lang.Math.subtractExact:(II)I
StackMap locals:
StackMap stack: int
6: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
0 7 1 a I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(rewriteOn = {Ljava/lang/ArithmeticException;})
MethodParameters:
Name Flags
a
protected double doDouble(double);
descriptor: (D)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
ifeq 1
dload 1
dconst_1
dadd
goto 2
StackMap locals:
StackMap stack:
1: dload 1
dconst_1
dsub
StackMap locals:
StackMap stack: double
2: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
0 3 1 a D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(replaces = {"doInt"})
MethodParameters:
Name Flags
a
protected com.oracle.truffle.js.runtime.BigInt doBigInt(com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/BigInt;)Lcom/oracle/truffle/js/runtime/BigInt;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
ifeq 1
aload 1
getstatic com.oracle.truffle.js.runtime.BigInt.ONE:Lcom/oracle/truffle/js/runtime/BigInt;
invokevirtual com.oracle.truffle.js.runtime.BigInt.add:(Lcom/oracle/truffle/js/runtime/BigInt;)Lcom/oracle/truffle/js/runtime/BigInt;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
getstatic com.oracle.truffle.js.runtime.BigInt.ONE:Lcom/oracle/truffle/js/runtime/BigInt;
invokevirtual com.oracle.truffle.js.runtime.BigInt.subtract:(Lcom/oracle/truffle/js/runtime/BigInt;)Lcom/oracle/truffle/js/runtime/BigInt;
StackMap locals:
StackMap stack: com.oracle.truffle.js.runtime.BigInt
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
0 3 1 a Lcom/oracle/truffle/js/runtime/BigInt;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
a
protected double doJavaNumber(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.truffle.js.runtime.JSRuntime.toDouble:(Ljava/lang/Object;)D
dstore 2
start local 2 1: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
ifeq 2
dload 2
dconst_1
dadd
goto 3
StackMap locals: double
StackMap stack:
2: dload 2
dconst_1
dsub
StackMap locals:
StackMap stack: double
3: dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
0 4 1 a Ljava/lang/Object;
1 4 2 doubleValue D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJavaNumber(a)"})
MethodParameters:
Name Flags
a
public void setTruncate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.truncate:Z
ifne 3
2: aload 0
iconst_1
putfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.truncate:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
public static com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode create(com.oracle.truffle.js.nodes.JavaScriptNode, boolean, boolean);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;ZZ)Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSAddSubNumericUnitNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
operand
isAddition
truncate
protected com.oracle.truffle.js.nodes.JavaScriptNode copyUninitialized(java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.getOperand:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.isAddition:Z
aload 0
getfield com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.truncate:Z
invokestatic com.oracle.truffle.js.nodes.binary.JSAddSubNumericUnitNode.create:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;ZZ)Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/binary/JSAddSubNumericUnitNode;
0 1 1 materializedTags Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
materializedTags
}
SourceFile: "JSAddSubNumericUnitNode.java"
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public final UnaryOperationTag = com.oracle.truffle.js.nodes.instrumentation.JSTags$UnaryOperationTag of com.oracle.truffle.js.nodes.instrumentation.JSTags