public abstract class com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode extends com.oracle.truffle.js.nodes.function.JSBuiltinNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode
super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
private com.oracle.truffle.js.nodes.cast.JSToLengthNode toLengthNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToLengthNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode this
start local 1 // com.oracle.truffle.js.runtime.JSContext context
start local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
0: .line 363
aload 0 /* this */
aload 1 /* context */
aload 2 /* builtin */
invokespecial com.oracle.truffle.js.nodes.function.JSBuiltinNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: .line 364
aload 0 /* this */
invokestatic com.oracle.truffle.js.nodes.cast.JSToLengthNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToLengthNode;
putfield com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode.toLengthNode:Lcom/oracle/truffle/js/nodes/cast/JSToLengthNode;
2: .line 365
return
end local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
end local 1 // com.oracle.truffle.js.runtime.JSContext context
end local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/TestV8Builtins$TestV8ToLengthNode;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 3 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
protected java.lang.Object toLengthOp(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=2
start local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode this
start local 1 // java.lang.Object obj
0: .line 369
aload 0 /* this */
getfield com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode.toLengthNode:Lcom/oracle/truffle/js/nodes/cast/JSToLengthNode;
aload 1 /* obj */
invokevirtual com.oracle.truffle.js.nodes.cast.JSToLengthNode.executeLong:(Ljava/lang/Object;)J
lstore 2 /* value */
start local 2 // long value
1: .line 370
lload 2 /* value */
l2d
dstore 4 /* d */
start local 4 // double d
2: .line 371
dload 4 /* d */
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleIsRepresentableAsInt:(D)Z
ifeq 4
3: .line 372
dload 4 /* d */
d2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
4: .line 374
StackMap locals: long double
StackMap stack:
dload 4 /* d */
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 4 // double d
end local 2 // long value
end local 1 // java.lang.Object obj
end local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/builtins/TestV8Builtins$TestV8ToLengthNode;
0 5 1 obj Ljava/lang/Object;
1 5 2 value J
2 5 4 d D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
obj
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 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode this
0: .line 380
new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTestV8ToLengthNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/TestV8Builtins$TestV8ToLengthNode;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
materializedTags
}
SourceFile: "TestV8Builtins.java"
NestHost: com.oracle.truffle.js.builtins.TestV8Builtins
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract TestV8ToLengthNode = com.oracle.truffle.js.builtins.TestV8Builtins$TestV8ToLengthNode of com.oracle.truffle.js.builtins.TestV8Builtins