public class com.oracle.truffle.js.nodes.function.DefineMethodNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.function.DefineMethodNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private final com.oracle.truffle.js.runtime.builtins.JSFunctionData functionData;
descriptor: Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode functionCreateNode;
descriptor: Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.PropertySetNode makeMethodNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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/nodes/function/DefineMethodNode;
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.nodes.function.DefineMethodNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.builtins.JSFunctionData);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
aload 2
putfield com.oracle.truffle.js.nodes.function.DefineMethodNode.functionData:Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
2: aload 0
aload 1
aload 2
invokestatic com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;)Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
putfield com.oracle.truffle.js.nodes.function.DefineMethodNode.functionCreateNode:Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
3: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.HOME_OBJECT_ID:Lcom/oracle/truffle/api/object/HiddenKey;
aload 1
invokestatic com.oracle.truffle.js.nodes.access.PropertySetNode.createSetHidden:(Lcom/oracle/truffle/api/object/HiddenKey;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
putfield com.oracle.truffle.js.nodes.function.DefineMethodNode.makeMethodNode:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
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/nodes/function/DefineMethodNode;
0 5 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 5 2 functionData Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
MethodParameters:
Name Flags
context
functionData
public static com.oracle.truffle.js.nodes.function.DefineMethodNode create(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSFunctionExpressionNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSFunctionExpressionNode;)Lcom/oracle/truffle/js/nodes/function/DefineMethodNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.nodes.function.DefineMethodNode
dup
aload 0
aload 1
getfield com.oracle.truffle.js.nodes.function.JSFunctionExpressionNode.functionData:Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
invokespecial com.oracle.truffle.js.nodes.function.DefineMethodNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;)V
areturn
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 functionExpressionNode Lcom/oracle/truffle/js/nodes/function/JSFunctionExpressionNode;
MethodParameters:
Name Flags
context
functionExpressionNode
public com.oracle.truffle.js.runtime.builtins.JSFunctionData getFunctionData();
descriptor: ()Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.function.DefineMethodNode.functionData:Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode;
public com.oracle.truffle.api.object.DynamicObject execute(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.oracle.truffle.js.nodes.function.DefineMethodNode.$assertionsDisabled:Z
ifne 1
aload 3
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isObject:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.nodes.function.DefineMethodNode.$assertionsDisabled:Z
ifne 2
aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isObject:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.function.DefineMethodNode.functionCreateNode:Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
aload 1
aload 3
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.executeWithPrototype:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 3: aload 0
getfield com.oracle.truffle.js.nodes.function.DefineMethodNode.makeMethodNode:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 4
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValue:(Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode;
0 5 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 5 2 homeObject Lcom/oracle/truffle/api/object/DynamicObject;
0 5 3 functionPrototype Lcom/oracle/truffle/api/object/DynamicObject;
3 5 4 closure Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
homeObject
functionPrototype
}
SourceFile: "DefineMethodNode.java"
NestMembers:
com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
protected abstract FunctionCreateNode = com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode of com.oracle.truffle.js.nodes.function.DefineMethodNode