public abstract class com.oracle.truffle.js.nodes.cast.JSToDoubleNode 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.JSToDoubleNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private com.oracle.truffle.js.nodes.cast.JSToDoubleNode toDoubleNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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/JSToDoubleNode;
public abstract java.lang.Object execute(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
value
public abstract double executeDouble(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
value
public static com.oracle.truffle.js.nodes.cast.JSToDoubleNode create();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
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\tJSToDoubleNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
protected static double doInteger(int);
descriptor: (I)D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
i2d
dreturn
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 double doBoolean(boolean);
descriptor: (Z)D
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
i2d
dreturn
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 double doDouble(double);
descriptor: (D)D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected final double doBigInt(com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/BigInt;)D
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorCannotConvertBigIntToNumber:(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/JSToDoubleNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/BigInt;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected static double doNull(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: dconst_0
dreturn
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 static double doUndefined(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc NaN
dreturn
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 double doStringDouble(java.lang.String, com.oracle.truffle.js.nodes.cast.JSStringToNumberNode);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;)D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.js.nodes.cast.JSStringToNumberNode.executeString:(Ljava/lang/String;)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
0 1 1 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()")
MethodParameters:
Name Flags
value
stringToNumberNode
protected double doJSObject(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.cast.JSToDoubleNode.getToDoubleNode:()Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
aload 2
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToDoubleNode.executeDouble:(Ljava/lang/Object;)D
dreturn
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/JSToDoubleNode;
0 1 1 value Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 toPrimitiveNode Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(value)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "createHintNumber()")
MethodParameters:
Name Flags
value
toPrimitiveNode
protected final double doSymbol(com.oracle.truffle.js.runtime.Symbol);
descriptor: (Lcom/oracle/truffle/js/runtime/Symbol;)D
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/JSToDoubleNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/Symbol;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected double doForeignObject(java.lang.Object, com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.cast.JSToDoubleNode.getToDoubleNode:()Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
aload 2
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToDoubleNode.executeDouble:(Ljava/lang/Object;)D
dreturn
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/JSToDoubleNode;
0 1 1 object Ljava/lang/Object;
0 1 2 toPrimitiveNode Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isForeignObject(object)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "createHintNumber()")
MethodParameters:
Name Flags
object
toPrimitiveNode
private com.oracle.truffle.js.nodes.cast.JSToDoubleNode getToDoubleNode();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToDoubleNode.toDoubleNode:Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSToDoubleNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToDoubleNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.cast.JSToDoubleNode
putfield com.oracle.truffle.js.nodes.cast.JSToDoubleNode.toDoubleNode:Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToDoubleNode.toDoubleNode:Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/cast/JSToDoubleNode;
protected static double doJavaNumber(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
checkcast java.lang.Number
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleValue:(Ljava/lang/Number;)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJavaNumber(value)"})
MethodParameters:
Name Flags
value
}
SourceFile: "JSToDoubleNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node