public abstract class com.oracle.truffle.js.runtime.builtins.JSArrayFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.runtime.builtins.JSArrayFactory
super_class: java.lang.Object
{
protected final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private com.oracle.truffle.api.object.DynamicObjectLibrary setProto;
descriptor: Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.js.runtime.builtins.JSArrayFactory.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
static com.oracle.truffle.js.runtime.builtins.JSArrayFactory create(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.Shape, com.oracle.truffle.js.runtime.builtins.PrototypeSupplier);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;)Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.js.runtime.builtins.JSArrayFactory$WithShape
dup
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayFactory$WithShape.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 shape Lcom/oracle/truffle/api/object/Shape;
0 1 2 prototypeSupplier Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;
MethodParameters:
Name Flags
context
shape
prototypeSupplier
static com.oracle.truffle.js.runtime.builtins.JSArrayFactory forArray(com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder);
descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory$IntrinsicBuilder;)Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.js.runtime.builtins.JSArrayFactory$Intrinsic
dup
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
getstatic com.oracle.truffle.js.runtime.builtins.JSArray.INSTANCE:Lcom/oracle/truffle/js/runtime/builtins/JSArray;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Lcom/oracle/truffle/js/runtime/builtins/JSArray;)Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/oracle/truffle/js/runtime/builtins/JSArray.makeInitialShape(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape; (5)
(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder.nextIndex:()I
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayFactory$Intrinsic.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 builder Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory$IntrinsicBuilder;
MethodParameters:
Name Flags
builder
static com.oracle.truffle.js.runtime.builtins.JSArrayFactory forArgumentsObject(com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory$IntrinsicBuilder;Z)Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.runtime.builtins.JSArrayFactory$ArgumentsObject
dup
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder.nextIndex:()I
iload 1
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayFactory$ArgumentsObject.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;IZ)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 builder Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory$IntrinsicBuilder;
0 1 1 mapped Z
MethodParameters:
Name Flags
builder
mapped
protected void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.builtins.JSArrayFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public final com.oracle.truffle.api.object.DynamicObject createWithRealm(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.js.runtime.array.ScriptArray, java.lang.Object, com.oracle.truffle.js.runtime.array.ArrayAllocationSite, long, int, int, int, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=12, locals=11, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 start local 8 start local 9 start local 10 0: aload 0
aload 1
aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayFactory.getPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
aload 2
aload 3
aload 4
lload 5
iload 7
iload 8
iload 9
iload 10
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayFactory.createWithPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 10 end local 9 end local 8 end local 7 end local 5 end local 4 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/runtime/builtins/JSArrayFactory;
0 1 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 1 2 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
0 1 3 array Ljava/lang/Object;
0 1 4 site Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;
0 1 5 length J
0 1 7 usedLength I
0 1 8 indexOffset I
0 1 9 arrayOffset I
0 1 10 holeCount I
MethodParameters:
Name Flags
realm
arrayType
array
site
length
usedLength
indexOffset
arrayOffset
holeCount
public final com.oracle.truffle.api.object.DynamicObject createWithPrototype(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.array.ScriptArray, java.lang.Object, com.oracle.truffle.js.runtime.array.ArrayAllocationSite, long, int, int, int, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=11, locals=14, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 8 start local 9 start local 10 start local 11 0: getstatic com.oracle.truffle.js.runtime.builtins.JSArrayFactory.$assertionsDisabled:Z
ifne 1
aload 2
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayFactory.getShape:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
astore 12
start local 12 2: aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayFactory.isInObjectProto:()Z
ifeq 6
3: aload 0
aload 12
aload 3
aload 4
aload 5
lload 6
iload 8
iload 9
iload 10
iload 11
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayFactory.newInstance:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
astore 13
start local 13 4: aload 0
aload 13
aload 2
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayFactory.setPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)V
5: aload 13
areturn
end local 13 6: StackMap locals: com.oracle.truffle.api.object.Shape
StackMap stack:
getstatic com.oracle.truffle.js.runtime.builtins.JSArrayFactory.$assertionsDisabled:Z
ifne 7
aload 12
aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSObjectFactory.verifyPrototype:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 12
aload 3
aload 4
aload 5
lload 6
iload 8
iload 9
iload 10
iload 11
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayFactory.newInstance:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
0 8 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 8 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
0 8 3 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
0 8 4 array Ljava/lang/Object;
0 8 5 site Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;
0 8 6 length J
0 8 8 usedLength I
0 8 9 indexOffset I
0 8 10 arrayOffset I
0 8 11 holeCount I
2 8 12 shape Lcom/oracle/truffle/api/object/Shape;
4 6 13 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
realm
prototype
arrayType
array
site
length
usedLength
indexOffset
arrayOffset
holeCount
protected com.oracle.truffle.api.object.DynamicObject newInstance(com.oracle.truffle.api.object.Shape, com.oracle.truffle.js.runtime.array.ScriptArray, java.lang.Object, com.oracle.truffle.js.runtime.array.ArrayAllocationSite, long, int, int, int, int);
descriptor: (Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=11, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 start local 8 start local 9 start local 10 0: aload 1
aload 2
aload 3
aload 4
lload 5
iload 7
iload 8
iload 9
iload 10
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayObject.create:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 10 end local 9 end local 8 end local 7 end local 5 end local 4 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/runtime/builtins/JSArrayFactory;
0 1 1 shape Lcom/oracle/truffle/api/object/Shape;
0 1 2 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
0 1 3 array Ljava/lang/Object;
0 1 4 site Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;
0 1 5 length J
0 1 7 usedLength I
0 1 8 indexOffset I
0 1 9 arrayOffset I
0 1 10 holeCount I
MethodParameters:
Name Flags
shape
arrayType
array
site
length
usedLength
indexOffset
arrayOffset
holeCount
protected abstract com.oracle.truffle.api.object.DynamicObject getPrototype(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
realm
protected abstract com.oracle.truffle.api.object.Shape getShape(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
realm
prototype
protected final void setPrototype(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayFactory.setProto:Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
getstatic com.oracle.truffle.js.runtime.objects.JSObject.HIDDEN_PROTO:Lcom/oracle/truffle/api/object/HiddenKey;
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.createCached:(Ljava/lang/Object;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
invokevirtual com.oracle.truffle.js.runtime.JSContext.adoptNode:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.api.object.DynamicObjectLibrary
putfield com.oracle.truffle.js.runtime.builtins.JSArrayFactory.setProto:Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayFactory.setProto:Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
aload 1
getstatic com.oracle.truffle.js.runtime.objects.JSObject.HIDDEN_PROTO:Lcom/oracle/truffle/api/object/HiddenKey;
aload 2
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.put:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
0 5 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
0 5 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
prototype
protected final boolean isInObjectProto();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isMultiContext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayFactory;
}
SourceFile: "JSArrayFactory.java"
NestMembers:
com.oracle.truffle.js.runtime.builtins.JSArrayFactory$ArgumentsObject com.oracle.truffle.js.runtime.builtins.JSArrayFactory$Intrinsic com.oracle.truffle.js.runtime.builtins.JSArrayFactory$WithShape
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
private final ArgumentsObject = com.oracle.truffle.js.runtime.builtins.JSArrayFactory$ArgumentsObject of com.oracle.truffle.js.runtime.builtins.JSArrayFactory
private Intrinsic = com.oracle.truffle.js.runtime.builtins.JSArrayFactory$Intrinsic of com.oracle.truffle.js.runtime.builtins.JSArrayFactory
private final WithShape = com.oracle.truffle.js.runtime.builtins.JSArrayFactory$WithShape of com.oracle.truffle.js.runtime.builtins.JSArrayFactory
public final IntrinsicBuilder = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles