public abstract class com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation extends com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$JSArrayOperation
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation
super_class: com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$JSArrayOperation
{
private com.oracle.truffle.js.nodes.array.ArrayCreateNode arrayCreateNode;
descriptor: Lcom/oracle/truffle/js/nodes/array/ArrayCreateNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.profiles.ConditionProfile isConstructor;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokespecial com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$JSArrayOperation.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;Z)V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.isConstructor:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/ArrayFunctionBuiltins$JSArrayFunctionOperation;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 3 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
0 3 3 isTypedArray Z
MethodParameters:
Name Flags
context
builtin
isTypedArray
protected com.oracle.truffle.api.object.DynamicObject constructOrArray(java.lang.Object, long, boolean);
descriptor: (Ljava/lang/Object;JZ)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.isTypedArrayImplementation:Z
ifeq 2
1: aload 0
invokevirtual com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.getArraySpeciesConstructorNode:()Lcom/oracle/truffle/js/builtins/ArrayPrototypeBuiltins$ArraySpeciesConstructorNode;
aload 1
checkcast com.oracle.truffle.api.object.DynamicObject
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.longToIntOrDouble:(J)Ljava/lang/Number;
aastore
invokevirtual com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$ArraySpeciesConstructorNode.typedArrayCreate:(Lcom/oracle/truffle/api/object/DynamicObject;[Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.isConstructor:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isConstructor:(Ljava/lang/Object;)Z
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 6
3: iload 4
ifeq 5
4: aload 0
invokevirtual com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.getArraySpeciesConstructorNode:()Lcom/oracle/truffle/js/builtins/ArrayPrototypeBuiltins$ArraySpeciesConstructorNode;
aload 1
checkcast com.oracle.truffle.api.object.DynamicObject
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.longToIntOrDouble:(J)Ljava/lang/Number;
aastore
invokevirtual com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$ArraySpeciesConstructorNode.construct:(Lcom/oracle/truffle/api/object/DynamicObject;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
areturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.getArraySpeciesConstructorNode:()Lcom/oracle/truffle/js/builtins/ArrayPrototypeBuiltins$ArraySpeciesConstructorNode;
aload 1
checkcast com.oracle.truffle.api.object.DynamicObject
iconst_0
anewarray java.lang.Object
invokevirtual com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$ArraySpeciesConstructorNode.construct:(Lcom/oracle/truffle/api/object/DynamicObject;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.arrayCreateNode:Lcom/oracle/truffle/js/nodes/array/ArrayCreateNode;
ifnonnull 9
7: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
8: aload 0
aload 0
aload 0
invokevirtual com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.array.ArrayCreateNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/array/ArrayCreateNode;
invokevirtual com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.array.ArrayCreateNode
putfield com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.arrayCreateNode:Lcom/oracle/truffle/js/nodes/array/ArrayCreateNode;
9: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.arrayCreateNode:Lcom/oracle/truffle/js/nodes/array/ArrayCreateNode;
lload 2
invokevirtual com.oracle.truffle.js.nodes.array.ArrayCreateNode.execute:(J)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/builtins/ArrayFunctionBuiltins$JSArrayFunctionOperation;
0 10 1 thisObj Ljava/lang/Object;
0 10 2 len J
0 10 4 provideLengthArg Z
MethodParameters:
Name Flags
thisObj
len
provideLengthArg
protected boolean isTypedArrayConstructor(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 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isConstructor:(Ljava/lang/Object;)Z
ifeq 1
aload 1
aload 0
invokevirtual com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getArrayConstructor:()Lcom/oracle/truffle/api/object/DynamicObject;
if_acmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/ArrayFunctionBuiltins$JSArrayFunctionOperation;
0 2 1 thisObj Ljava/lang/Object;
MethodParameters:
Name Flags
thisObj
}
SourceFile: "ArrayFunctionBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.ArrayFunctionBuiltins
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract JSArrayFunctionOperation = com.oracle.truffle.js.builtins.ArrayFunctionBuiltins$JSArrayFunctionOperation of com.oracle.truffle.js.builtins.ArrayFunctionBuiltins
protected ArraySpeciesConstructorNode = com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$ArraySpeciesConstructorNode of com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins
public abstract JSArrayOperation = com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins$JSArrayOperation of com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins