public abstract class com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode
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.InitFunctionNode initFunctionNode;
descriptor: Lcom/oracle/truffle/js/nodes/function/InitFunctionNode;
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$FunctionCreateNode.$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=2, 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: getstatic com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.$assertionsDisabled:Z
ifne 2
aload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.builtins.JSFunctionData.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.js.runtime.builtins.JSFunctionData
StackMap stack:
aload 0
aload 2
putfield com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.functionData:Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
3: aload 0
aload 2
invokestatic com.oracle.truffle.js.nodes.function.InitFunctionNode.create:(Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;)Lcom/oracle/truffle/js/nodes/function/InitFunctionNode;
putfield com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.initFunctionNode:Lcom/oracle/truffle/js/nodes/function/InitFunctionNode;
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$FunctionCreateNode;
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$FunctionCreateNode create(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;)Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tFunctionCreateNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
functionData
public abstract com.oracle.truffle.api.object.DynamicObject executeWithPrototype(com.oracle.truffle.api.frame.VirtualFrame, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
frame
prototype
protected final com.oracle.truffle.api.object.DynamicObject doCached(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.builtins.JSFunctionFactory);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 4
aload 3
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.makeFunction:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
0 1 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 1 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
0 1 3 cachedPrototype Lcom/oracle/truffle/api/object/DynamicObject;
0 1 4 factory Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!getContext().isMultiContext()", "prototype == cachedPrototype", "isJSObject(cachedPrototype)"}, limit = "getContext().getPropertyCacheLimit()")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "prototype")
3:
com.oracle.truffle.api.dsl.Cached(value = "makeFactory(prototype)")
MethodParameters:
Name Flags
frame
prototype
cachedPrototype
factory
protected final com.oracle.truffle.api.object.DynamicObject doUncached(com.oracle.truffle.api.frame.VirtualFrame, 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;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.makeFactory:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
astore 3
start local 3 1: aload 0
aload 1
aload 3
aload 2
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.makeFunction:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
0 2 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 2 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
1 2 3 factory Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!getContext().isMultiContext()", "isJSObject(prototype)"}, replaces = {"doCached"})
MethodParameters:
Name Flags
frame
prototype
protected final com.oracle.truffle.api.object.DynamicObject doMultiContext(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.builtins.JSFunctionFactory);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
aload 2
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.makeFunction:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
0 1 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 1 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
0 1 3 factory Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"getContext().isMultiContext()", "isJSObject(prototype)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "makeFactoryMultiContext()")
MethodParameters:
Name Flags
frame
prototype
factory
protected final com.oracle.truffle.js.runtime.builtins.JSFunctionFactory makeFactory(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunctionFactory.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
0 1 1 prototype Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
prototype
protected final com.oracle.truffle.js.runtime.builtins.JSFunctionFactory makeFactoryMultiContext();
descriptor: ()Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.makeFactory:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
protected final com.oracle.truffle.api.object.DynamicObject makeFunction(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.js.runtime.builtins.JSFunctionFactory, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.functionData:Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
invokevirtual com.oracle.truffle.js.runtime.builtins.JSFunctionData.needsParentFrame:()Z
ifeq 1
aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.materialize:()Lcom/oracle/truffle/api/frame/MaterializedFrame;
goto 2
StackMap locals:
StackMap stack:
1: getstatic com.oracle.truffle.js.runtime.JSFrameUtil.NULL_MATERIALIZED_FRAME:Lcom/oracle/truffle/api/frame/MaterializedFrame;
StackMap locals:
StackMap stack: com.oracle.truffle.api.frame.MaterializedFrame
2: astore 4
start local 4 3: aload 0
invokevirtual com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 5
start local 5 4: aload 2
aload 0
getfield com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.functionData:Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
aload 4
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.CLASS_PROTOTYPE_PLACEHOLDER:Ljava/lang/Object;
aload 5
aload 3
invokevirtual com.oracle.truffle.js.runtime.builtins.JSFunctionFactory.createWithPrototype:(Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;Lcom/oracle/truffle/api/frame/MaterializedFrame;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 6
start local 6 5: aload 0
getfield com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.initFunctionNode:Lcom/oracle/truffle/js/nodes/function/InitFunctionNode;
aload 6
invokevirtual com.oracle.truffle.js.nodes.function.InitFunctionNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
pop
6: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
0 7 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 7 2 factory Lcom/oracle/truffle/js/runtime/builtins/JSFunctionFactory;
0 7 3 prototype Lcom/oracle/truffle/api/object/DynamicObject;
3 7 4 enclosingFrame Lcom/oracle/truffle/api/frame/MaterializedFrame;
4 7 5 realm Lcom/oracle/truffle/js/runtime/JSRealm;
5 7 6 function Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
factory
prototype
final com.oracle.truffle.js.runtime.JSContext getContext();
descriptor: ()Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.function.DefineMethodNode$FunctionCreateNode.functionData:Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
invokevirtual com.oracle.truffle.js.runtime.builtins.JSFunctionData.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
protected final com.oracle.truffle.api.object.DynamicObject doNonObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "functionPrototype not an object"
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/DefineMethodNode$FunctionCreateNode;
0 1 1 prototype Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isJSObject(prototype)"})
MethodParameters:
Name Flags
prototype
}
SourceFile: "DefineMethodNode.java"
NestHost: com.oracle.truffle.js.nodes.function.DefineMethodNode
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
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