public abstract class com.oracle.truffle.js.nodes.binary.JSLogicalNode extends com.oracle.truffle.js.nodes.binary.JSBinaryNode implements com.oracle.truffle.js.nodes.control.ResumableNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.binary.JSLogicalNode
super_class: com.oracle.truffle.js.nodes.binary.JSBinaryNode
{
private static final int RESUME_RIGHT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int RESUME_UNEXECUTED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private final boolean negate;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.js.nodes.cast.JSToBooleanNode toBooleanCast;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
protected final com.oracle.truffle.api.profiles.ConditionProfile canShortCircuit;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
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 Lcom/oracle/truffle/js/nodes/binary/JSLogicalNode;
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.truffle.js.nodes.binary.JSLogicalNode.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.JavaScriptNode, boolean);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.binary.JSBinaryNode.<init>:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.canShortCircuit:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
iload 3
putfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.negate: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/JSLogicalNode;
0 4 1 left Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 4 2 right Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 4 3 negate Z
MethodParameters:
Name Flags
left
right
negate
protected boolean toBoolean(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.toBooleanCast:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSToBooleanNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.cast.JSToBooleanNode
putfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.toBooleanCast:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.toBooleanCast:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToBooleanNode.executeBoolean:(Ljava/lang/Object;)Z
istore 2
start local 2 4: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.negate:Z
ifeq 6
iload 2
ifeq 5
iconst_0
goto 7
StackMap locals: int
StackMap stack:
5: iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iload 2
StackMap locals:
StackMap stack: int
7: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/nodes/binary/JSLogicalNode;
0 8 1 operand Ljava/lang/Object;
4 8 2 value Z
MethodParameters:
Name Flags
operand
protected boolean useLeftValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.toBoolean:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/binary/JSLogicalNode;
0 1 1 leftValue Ljava/lang/Object;
MethodParameters:
Name Flags
leftValue
public final java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.getLeft:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.canShortCircuit:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 0
aload 2
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.useLeftValue:(Ljava/lang/Object;)Z
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 3
2: aload 2
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.getRight:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
areturn
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/JSLogicalNode;
0 4 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 4 2 leftValue Ljava/lang/Object;
MethodParameters:
Name Flags
frame
public java.lang.Object resume(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.getStateAsIntAndReset:(Lcom/oracle/truffle/api/frame/VirtualFrame;)I
istore 2
start local 2 1: iload 2
ifne 10
2: aload 0
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.getLeft:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 3
start local 3 3: aload 0
getfield com.oracle.truffle.js.nodes.binary.JSLogicalNode.canShortCircuit:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 0
aload 3
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.useLeftValue:(Ljava/lang/Object;)Z
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 5
4: aload 3
areturn
5: StackMap locals: int java.lang.Object
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.getRight:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
6: areturn
7: StackMap locals:
StackMap stack: com.oracle.truffle.js.nodes.control.YieldException
astore 4
start local 4 8: aload 0
aload 1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.setState:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)V
9: aload 4
athrow
end local 4 end local 3 10: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.nodes.binary.JSLogicalNode.$assertionsDisabled:Z
ifne 11
iload 2
iconst_1
if_icmpeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.getRight:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
12: areturn
13: StackMap locals:
StackMap stack: com.oracle.truffle.js.nodes.control.YieldException
astore 3
start local 3 14: aload 0
aload 1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.nodes.binary.JSLogicalNode.setState:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)V
15: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/js/nodes/binary/JSLogicalNode;
0 16 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 16 2 state I
3 10 3 leftValue Ljava/lang/Object;
8 10 4 e Lcom/oracle/truffle/js/nodes/control/YieldException;
14 16 3 e Lcom/oracle/truffle/js/nodes/control/YieldException;
Exception table:
from to target type
5 6 7 Class com.oracle.truffle.js.nodes.control.YieldException
11 12 13 Class com.oracle.truffle.js.nodes.control.YieldException
MethodParameters:
Name Flags
frame
}
SourceFile: "JSLogicalNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node