class com.oracle.truffle.js.runtime.builtins.JSDataView$1 extends com.oracle.truffle.js.runtime.JavaScriptRootNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.js.runtime.builtins.JSDataView$1
super_class: com.oracle.truffle.js.runtime.JavaScriptRootNode
{
private final java.util.function.Function val$function;
descriptor: Ljava/util/function/Function;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.js.lang.JavaScriptLanguage, com.oracle.truffle.api.source.SourceSection, com.oracle.truffle.api.frame.FrameDescriptor, java.util.function.Function);
descriptor: (Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/source/SourceSection;Lcom/oracle/truffle/api/frame/FrameDescriptor;Ljava/util/function/Function;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 // com.oracle.truffle.js.runtime.builtins.JSDataView$1 this
start local 1 // com.oracle.truffle.js.lang.JavaScriptLanguage $anonymous0
start local 2 // com.oracle.truffle.api.source.SourceSection $anonymous1
start local 3 // com.oracle.truffle.api.frame.FrameDescriptor $anonymous2
0: .line 133
aload 0 /* this */
aload 4
putfield com.oracle.truffle.js.runtime.builtins.JSDataView$1.val$function:Ljava/util/function/Function;
aload 0 /* this */
aload 1 /* $anonymous0 */
aload 2 /* $anonymous1 */
aload 3 /* $anonymous2 */
invokespecial com.oracle.truffle.js.runtime.JavaScriptRootNode.<init>:(Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/source/SourceSection;Lcom/oracle/truffle/api/frame/FrameDescriptor;)V
return
end local 3 // com.oracle.truffle.api.frame.FrameDescriptor $anonymous2
end local 2 // com.oracle.truffle.api.source.SourceSection $anonymous1
end local 1 // com.oracle.truffle.js.lang.JavaScriptLanguage $anonymous0
end local 0 // com.oracle.truffle.js.runtime.builtins.JSDataView$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSDataView$1;
0 1 1 $anonymous0 Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
0 1 2 $anonymous1 Lcom/oracle/truffle/api/source/SourceSection;
0 1 3 $anonymous2 Lcom/oracle/truffle/api/frame/FrameDescriptor;
MethodParameters:
Name Flags
$anonymous0
$anonymous1
$anonymous2
val$function final
public java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // com.oracle.truffle.js.runtime.builtins.JSDataView$1 this
start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
0: .line 136
aload 1 /* frame */
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.JSArguments.getThisObject:([Ljava/lang/Object;)Ljava/lang/Object;
astore 2 /* obj */
start local 2 // java.lang.Object obj
1: .line 137
aload 2 /* obj */
invokestatic com.oracle.truffle.js.runtime.builtins.JSDataView.isJSDataView:(Ljava/lang/Object;)Z
ifeq 3
2: .line 138
aload 0 /* this */
getfield com.oracle.truffle.js.runtime.builtins.JSDataView$1.val$function:Ljava/util/function/Function;
aload 2 /* obj */
checkcast com.oracle.truffle.js.runtime.builtins.JSDataViewObject
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: .line 140
StackMap locals: java.lang.Object
StackMap stack:
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotADataView:()Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 2 // java.lang.Object obj
end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
end local 0 // com.oracle.truffle.js.runtime.builtins.JSDataView$1 this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/builtins/JSDataView$1;
0 4 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 4 2 obj Ljava/lang/Object;
MethodParameters:
Name Flags
frame
}
SourceFile: "JSDataView.java"
EnclosingMethod: com.oracle.truffle.js.runtime.builtins.JSDataView.lambda$3:(Ljava/util/function/Function;Ljava/lang/String;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
NestHost: com.oracle.truffle.js.runtime.builtins.JSDataView
InnerClasses:
com.oracle.truffle.js.runtime.builtins.JSDataView$1