public abstract class com.oracle.truffle.js.nodes.cast.JSToNumberNode 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.JSToNumberNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private com.oracle.truffle.js.nodes.cast.JSToNumberNode toNumberNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.cast.JSStringToNumberNode stringToNumberNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;
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/JSToNumberNode;
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 final java.lang.Number executeNumber(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Number;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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.cast.JSToNumberNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Number
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public static com.oracle.truffle.js.nodes.cast.JSToNumberNode create();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
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\tJSToNumberNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.js.nodes.JavaScriptNode create(com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSToNumberUnaryNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
child
protected static int doInteger(int);
descriptor: (I)I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
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 int doBoolean(boolean);
descriptor: (Z)I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic com.oracle.truffle.js.runtime.JSRuntime.booleanToNumber:(Z)I
ireturn
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 static int doNull(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
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 java.lang.Number doString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Number;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumberNode.stringToNumber:(Ljava/lang/String;)D
dstore 2
start local 2 1: dload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleToNarrowestNumber:(D)Ljava/lang/Number;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
0 2 1 value Ljava/lang/String;
1 2 2 doubleValue D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.Number 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;)Ljava/lang/Number;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
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.JSToNumberNode.toNumber:(Ljava/lang/Object;)Ljava/lang/Number;
areturn
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/JSToNumberNode;
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 java.lang.Number doSymbol(com.oracle.truffle.js.runtime.Symbol);
descriptor: (Lcom/oracle/truffle/js/runtime/Symbol;)Ljava/lang/Number;
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/JSToNumberNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/Symbol;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected final java.lang.Number doBigInt(com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/BigInt;)Ljava/lang/Number;
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/JSToNumberNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/BigInt;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.Number doForeignObject(java.lang.Object, com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;)Ljava/lang/Number;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
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.JSToNumberNode.toNumber:(Ljava/lang/Object;)Ljava/lang/Number;
areturn
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/JSToNumberNode;
0 1 1 value Ljava/lang/Object;
0 1 2 toPrimitiveNode Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isForeignObject(value)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "createHintNumber()")
MethodParameters:
Name Flags
value
toPrimitiveNode
protected static double doJavaObject(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
private java.lang.Number toNumber(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToNumberNode.toNumberNode:Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSToNumberNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumberNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.cast.JSToNumberNode
putfield com.oracle.truffle.js.nodes.cast.JSToNumberNode.toNumberNode:Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToNumberNode.toNumberNode:Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumberNode.executeNumber:(Ljava/lang/Object;)Ljava/lang/Number;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
0 4 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
private double stringToNumber(java.lang.String);
descriptor: (Ljava/lang/String;)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToNumberNode.stringToNumberNode:Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSStringToNumberNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumberNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.cast.JSStringToNumberNode
putfield com.oracle.truffle.js.nodes.cast.JSToNumberNode.stringToNumberNode:Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToNumberNode.stringToNumberNode:Lcom/oracle/truffle/js/nodes/cast/JSStringToNumberNode;
aload 1
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 4 0 this Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
0 4 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
}
SourceFile: "JSToNumberNode.java"
NestMembers:
com.oracle.truffle.js.nodes.cast.JSToNumberNode$JSToNumberUnaryNode
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract JSToNumberUnaryNode = com.oracle.truffle.js.nodes.cast.JSToNumberNode$JSToNumberUnaryNode of com.oracle.truffle.js.nodes.cast.JSToNumberNode