public abstract class com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode extends com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode
super_class: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation
{
private com.oracle.truffle.js.nodes.access.CreateObjectNode$CreateObjectWithPrototypeNode objectCreateNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/CreateObjectNode$CreateObjectWithPrototypeNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.profiles.BranchProfile needDefineProperties;
descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/builtins/ObjectFunctionBuiltins;
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.builtins.ObjectFunctionBuiltins$ObjectCreateNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
putfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.needDefineProperties:Lcom/oracle/truffle/api/profiles/BranchProfile;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 3 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
protected com.oracle.truffle.api.object.DynamicObject createPrototypeNull(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.runtime.builtins.JSOrdinary.createWithNullPrototype:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
start local 3 1: aload 0
aload 3
aload 2
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.objectDefineProperties:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)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/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 2 1 prototype Ljava/lang/Object;
0 2 2 properties Ljava/lang/Object;
1 2 3 ret Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSNull(prototype)"})
MethodParameters:
Name Flags
prototype
properties
protected com.oracle.truffle.api.object.DynamicObject createForeignNullOrInvalidPrototype(java.lang.Object, java.lang.Object, com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.api.profiles.ConditionProfile);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/api/profiles/ConditionProfile;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 4
aload 1
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 2
aload 3
aload 1
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.isNull:(Ljava/lang/Object;)Z
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
2: iconst_0
StackMap locals: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode java.lang.Object java.lang.Object com.oracle.truffle.api.interop.InteropLibrary com.oracle.truffle.api.profiles.ConditionProfile
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
3: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 5
4: aload 0
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 2
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.createPrototypeNull:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
5: StackMap locals:
StackMap stack:
aload 1
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorInvalidPrototype:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 6 1 prototype Ljava/lang/Object;
0 6 2 properties Ljava/lang/Object;
0 6 3 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
0 6 4 isNull Lcom/oracle/truffle/api/profiles/ConditionProfile;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isJSNull(prototype)", "!isJSObject(prototype)"}, limit = "InteropLibraryLimit")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.library.CachedLibrary(value = "prototype")
3:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
MethodParameters:
Name Flags
prototype
properties
interop
isNull
protected com.oracle.truffle.api.object.DynamicObject createObjectObject(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.createObjectWithPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
start local 3 1: aload 0
aload 3
aload 2
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.intlDefineProperties:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
pop
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 3 1 prototype Lcom/oracle/truffle/api/object/DynamicObject;
0 3 2 properties Lcom/oracle/truffle/api/object/DynamicObject;
1 3 3 ret Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(prototype)", "isJSObject(properties)"})
MethodParameters:
Name Flags
prototype
properties
protected com.oracle.truffle.api.object.DynamicObject createObjectNotNull(com.oracle.truffle.api.object.DynamicObject, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.createObjectWithPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
start local 3 1: aload 0
aload 3
aload 2
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.objectDefineProperties:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)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/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 2 1 prototype Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 properties Ljava/lang/Object;
1 2 3 ret Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(prototype)", "!isJSNull(properties)"})
MethodParameters:
Name Flags
prototype
properties
protected com.oracle.truffle.api.object.DynamicObject createObjectNull(com.oracle.truffle.api.object.DynamicObject, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aconst_null
aload 0
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotObjectCoercible:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 1 1 prototype Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 properties Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(prototype)", "isJSNull(properties)"})
MethodParameters:
Name Flags
prototype
properties
private com.oracle.truffle.api.object.DynamicObject objectDefineProperties(com.oracle.truffle.api.object.DynamicObject, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 3
1: aload 0
getfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.needDefineProperties:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
2: aload 0
aload 1
aload 0
aload 2
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.toJSObject:(Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.intlDefineProperties:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
pop
3: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 4 1 ret Lcom/oracle/truffle/api/object/DynamicObject;
0 4 2 properties Ljava/lang/Object;
MethodParameters:
Name Flags
ret
properties
private com.oracle.truffle.api.object.DynamicObject createObjectWithPrototype(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.objectCreateNode:Lcom/oracle/truffle/js/nodes/access/CreateObjectNode$CreateObjectWithPrototypeNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
aload 0
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.CreateObjectNode.createOrdinaryWithPrototype:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/CreateObjectNode$CreateObjectWithPrototypeNode;
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.CreateObjectNode$CreateObjectWithPrototypeNode
putfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.objectCreateNode:Lcom/oracle/truffle/js/nodes/access/CreateObjectNode$CreateObjectWithPrototypeNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode.objectCreateNode:Lcom/oracle/truffle/js/nodes/access/CreateObjectNode$CreateObjectWithPrototypeNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.CreateObjectNode$CreateObjectWithPrototypeNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectCreateNode;
0 4 1 prototype Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
prototype
}
SourceFile: "ObjectFunctionBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract ObjectCreateNode = com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectCreateNode of com.oracle.truffle.js.builtins.ObjectFunctionBuiltins
protected abstract ObjectDefineOperation = com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation of com.oracle.truffle.js.builtins.ObjectFunctionBuiltins
public abstract CreateObjectWithPrototypeNode = com.oracle.truffle.js.nodes.access.CreateObjectNode$CreateObjectWithPrototypeNode of com.oracle.truffle.js.nodes.access.CreateObjectNode
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})