abstract class com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode extends com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayReadElementCacheNode
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode
super_class: com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayReadElementCacheNode
{
private final com.oracle.truffle.js.runtime.array.ScriptArray arrayType;
descriptor: Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final com.oracle.truffle.api.profiles.ConditionProfile inBounds;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final com.oracle.truffle.api.profiles.ConditionProfile needGetProperty;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.js.runtime.util.JSClassProfile outOfBoundsClassProfile;
descriptor: Lcom/oracle/truffle/js/runtime/util/JSClassProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.oracle.truffle.js.runtime.array.ScriptArray, com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayReadElementCacheNode);
descriptor: (Lcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayReadElementCacheNode;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayReadElementCacheNode.<init>:(Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayReadElementCacheNode;)V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.inBounds:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.needGetProperty:Lcom/oracle/truffle/api/profiles/ConditionProfile;
3: aload 0
invokestatic com.oracle.truffle.js.runtime.util.JSClassProfile.create:()Lcom/oracle/truffle/js/runtime/util/JSClassProfile;
putfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.outOfBoundsClassProfile:Lcom/oracle/truffle/js/runtime/util/JSClassProfile;
4: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.arrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode;
0 6 1 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
0 6 2 next Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayReadElementCacheNode;
MethodParameters:
Name Flags
arrayType
next
protected final boolean guard(java.lang.Object, com.oracle.truffle.js.runtime.array.ScriptArray);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ScriptArray;)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.arrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
aload 2
invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.isInstance:(Lcom/oracle/truffle/js/runtime/array/ScriptArray;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode;
0 1 1 target Ljava/lang/Object;
0 1 2 array Lcom/oracle/truffle/js/runtime/array/ScriptArray;
MethodParameters:
Name Flags
target
array
protected final com.oracle.truffle.js.runtime.array.ScriptArray cast(com.oracle.truffle.js.runtime.array.ScriptArray);
descriptor: (Lcom/oracle/truffle/js/runtime/array/ScriptArray;)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.arrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.cast:(Lcom/oracle/truffle/js/runtime/array/ScriptArray;)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode;
0 1 1 array Lcom/oracle/truffle/js/runtime/array/ScriptArray;
MethodParameters:
Name Flags
array
protected final com.oracle.truffle.js.runtime.array.ScriptArray getArrayType();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
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.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.arrayType:Lcom/oracle/truffle/js/runtime/array/ScriptArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode;
protected java.lang.Object readOutOfBounds(com.oracle.truffle.api.object.DynamicObject, long, java.lang.Object, java.lang.Object, com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.needGetProperty:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 1
aload 6
invokestatic com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.needsSlowGet:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;)Z
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 2
1: aload 1
lload 2
aload 4
aload 5
aload 0
getfield com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode.outOfBoundsClassProfile:Lcom/oracle/truffle/js/runtime/util/JSClassProfile;
aload 0
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/util/JSClassProfile;Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 5
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode;
0 3 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 3 2 index J
0 3 4 receiver Ljava/lang/Object;
0 3 5 defaultValue Ljava/lang/Object;
0 3 6 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
target
index
receiver
defaultValue
context
private static boolean needsSlowGet(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.getArrayPrototypeNoElementsAssumption:()Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 3
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.getFastArrayAssumption:()Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifne 1
aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSSlowArray.isJSSlowArray:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifne 3
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.getFastArgumentsObjectAssumption:()Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifne 2
aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSSlowArgumentsArray.isJSSlowArgumentsObject:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifne 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 target Lcom/oracle/truffle/api/object/DynamicObject;
0 4 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
target
context
protected void checkDetachedArrayBuffer(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.hasDetachedBuffer:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;)Z
ifeq 2
1: invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorDetachedBuffer:()Lcom/oracle/truffle/js/runtime/JSException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/access/ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode;
0 3 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 3 2 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
target
context
}
SourceFile: "ReadElementNode.java"
NestHost: com.oracle.truffle.js.nodes.access.ReadElementNode
InnerClasses:
private abstract ArrayClassGuardCachedArrayReadElementCacheNode = com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayClassGuardCachedArrayReadElementCacheNode of com.oracle.truffle.js.nodes.access.ReadElementNode
abstract ArrayReadElementCacheNode = com.oracle.truffle.js.nodes.access.ReadElementNode$ArrayReadElementCacheNode of com.oracle.truffle.js.nodes.access.ReadElementNode