class com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2 extends com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$ArrayBufferViewGetter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2
super_class: com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$ArrayBufferViewGetter
{
private final com.oracle.truffle.api.profiles.ConditionProfile detachedBufferProfile;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.js.runtime.JSContext val$ctx;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2 this
0: .line 418
aload 0 /* this */
aload 1
putfield com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2.val$ctx:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0 /* this */
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$ArrayBufferViewGetter.<init>:()V
1: .line 419
aload 0 /* this */
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.create:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2.detachedBufferProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: .line 418
return
end local 0 // com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2 this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayBufferView$2;
MethodParameters:
Name Flags
val$ctx final
public java.lang.Object apply(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2 this
start local 1 // com.oracle.truffle.api.object.DynamicObject view
0: .line 423
aload 0 /* this */
getfield com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2.detachedBufferProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 1 /* view */
aload 0 /* this */
getfield com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2.val$ctx:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.hasDetachedBuffer:(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: .line 424
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
2: .line 426
StackMap locals:
StackMap stack:
aload 1 /* view */
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 1 // com.oracle.truffle.api.object.DynamicObject view
end local 0 // com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2 this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayBufferView$2;
0 3 1 view Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
view
}
SourceFile: "JSArrayBufferView.java"
EnclosingMethod: com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.createTypedArrayPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
NestHost: com.oracle.truffle.js.runtime.builtins.JSArrayBufferView
InnerClasses:
com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$2
private abstract ArrayBufferViewGetter = com.oracle.truffle.js.runtime.builtins.JSArrayBufferView$ArrayBufferViewGetter of com.oracle.truffle.js.runtime.builtins.JSArrayBufferView