final class com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite implements com.oracle.truffle.js.runtime.array.ArrayAllocationSite
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite
super_class: java.lang.Object
{
private static final com.oracle.truffle.js.runtime.array.ScriptArray UNINIT_ARRAY_TYPE;
descriptor: Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.oracle.truffle.js.runtime.array.ScriptArray concreteArrayType;
descriptor: Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private com.oracle.truffle.api.Assumption assumption;
descriptor: Lcom/oracle/truffle/api/Assumption;
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/builtins/ConstructorBuiltins;
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.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.$assertionsDisabled:Z
3: invokestatic com.oracle.truffle.js.runtime.array.ScriptArray.createConstantEmptyArray:()Lcom/oracle/truffle/js/runtime/array/dyn/AbstractConstantArray;
putstatic com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.UNINIT_ARRAY_TYPE:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.UNINIT_ARRAY_TYPE:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
2: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
ldc "Array allocation site (untyped)"
invokeinterface com.oracle.truffle.api.TruffleRuntime.createAssumption:(Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.assumption:Lcom/oracle/truffle/api/Assumption;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite;
public boolean isTyped();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.assumption:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 1
aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
getstatic com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.UNINIT_ARRAY_TYPE:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
if_acmpeq 1
aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite;
public void notifyArrayTransition(com.oracle.truffle.js.runtime.array.ScriptArray, int);
descriptor: (Lcom/oracle/truffle/js/runtime/array/ScriptArray;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "do not notify array transitions from compiled code"
invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:(Ljava/lang/String;)V
1: getstatic com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.$assertionsDisabled:Z
ifne 2
getstatic com.oracle.truffle.js.runtime.JSConfig.TrackArrayAllocationSites:Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.oracle.truffle.js.runtime.array.dyn.AbstractWritableArray
ifeq 11
iload 2
ifle 11
3: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
getstatic com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.UNINIT_ARRAY_TYPE:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
if_acmpne 8
4: aload 0
aload 1
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
5: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.assumption:Lcom/oracle/truffle/api/Assumption;
ldc "TypedArray type initialization"
invokeinterface com.oracle.truffle.api.Assumption.invalidate:(Ljava/lang/String;)V
6: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
ldc "Array allocation site (typed)"
invokeinterface com.oracle.truffle.api.TruffleRuntime.createAssumption:(Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.assumption:Lcom/oracle/truffle/api/Assumption;
7: goto 11
StackMap locals:
StackMap stack:
8: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
aload 1
if_acmpeq 11
9: aload 0
aconst_null
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
10: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.assumption:Lcom/oracle/truffle/api/Assumption;
ldc "TypedArray type rewrite"
invokeinterface com.oracle.truffle.api.Assumption.invalidate:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite;
0 12 1 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
0 12 2 length I
MethodParameters:
Name Flags
arrayType
length
public com.oracle.truffle.js.runtime.array.ScriptArray getInitialArrayType();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.isTyped:()Z
ifeq 2
1: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite.concreteArrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite;
}
SourceFile: "ConstructorBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.ConstructorBuiltins
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract ConstructArrayNode = com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode of com.oracle.truffle.js.builtins.ConstructorBuiltins
private final ConstructArrayAllocationSite = com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode$ConstructArrayAllocationSite of com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructArrayNode