public abstract class com.oracle.truffle.js.nodes.cast.JSToIntegerAsLongNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.cast.JSToIntegerAsLongNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;
public static com.oracle.truffle.js.nodes.cast.JSToIntegerAsLongNode create();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSToIntegerAsLongNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public abstract long executeLong(java.lang.Object);
descriptor: (Ljava/lang/Object;)J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
operand
protected static long doInteger(int);
descriptor: (I)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected static long doBoolean(boolean);
descriptor: (Z)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic com.oracle.truffle.js.runtime.JSRuntime.booleanToNumber:(Z)I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Z
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected static long doSafeInteger(com.oracle.truffle.js.runtime.SafeInteger);
descriptor: (Lcom/oracle/truffle/js/runtime/SafeInteger;)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.SafeInteger.longValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Lcom/oracle/truffle/js/runtime/SafeInteger;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected static long doDouble(double);
descriptor: (D)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
d2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isInfinite(value)"})
MethodParameters:
Name Flags
value
protected static long doDoubleInfinite(double);
descriptor: (D)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
dconst_0
dcmpl
ifle 1
ldc 9223372036854775807
goto 2
StackMap locals:
StackMap stack:
1: ldc -9223372036854775808
StackMap locals:
StackMap stack: long
2: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isInfinite(value)"})
MethodParameters:
Name Flags
value
protected static long doUndefined(java.lang.Object);
descriptor: (Ljava/lang/Object;)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isUndefined(value)"})
MethodParameters:
Name Flags
value
protected static long doNull(java.lang.Object);
descriptor: (Ljava/lang/Object;)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSNull(value)"})
MethodParameters:
Name Flags
value
protected final long doSymbol(com.oracle.truffle.js.runtime.Symbol);
descriptor: (Lcom/oracle/truffle/js/runtime/Symbol;)J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "a Symbol value"
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorCannotConvertToNumber:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/Symbol;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected final long doBigInt(com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/BigInt;)J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "a BigInt value"
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorCannotConvertToNumber:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/BigInt;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected long doString(java.lang.String, com.oracle.truffle.js.nodes.cast.JSToIntegerAsLongNode, com.oracle.truffle.js.nodes.cast.JSStringToNumberNode);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 3
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSStringToNumberNode.executeString:(Ljava/lang/String;)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToIntegerAsLongNode.executeLong:(Ljava/lang/Object;)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;
0 1 1 value Ljava/lang/String;
0 1 2 nestedToIntegerNode Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;
0 1 3 stringToNumberNode Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "create()")
2:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
value
nestedToIntegerNode
stringToNumberNode
protected long doJSObject(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.nodes.cast.JSToNumberNode);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumberNode.executeNumber:(Ljava/lang/Object;)Ljava/lang/Number;
invokestatic com.oracle.truffle.js.runtime.JSRuntime.toInteger:(Ljava/lang/Number;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToIntegerAsLongNode;
0 1 1 value Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 toNumberNode Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(value)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
value
toNumberNode
}
SourceFile: "JSToIntegerAsLongNode.java"
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Ljava/lang/Double;})