abstract class com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$AssignPropertiesNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$AssignPropertiesNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
protected final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0014) ACC_PROTECTED, 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$AssignPropertiesNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$AssignPropertiesNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$AssignPropertiesNode;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
abstract void executeVoid(java.lang.Object, java.lang.Object, com.oracle.truffle.js.nodes.access.WriteElementNode);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/access/WriteElementNode;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
to
from
write
protected static void copyPropertiesFromJSObject(java.lang.Object, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.nodes.access.WriteElementNode, com.oracle.truffle.js.nodes.access.ReadElementNode, com.oracle.truffle.js.nodes.access.JSGetOwnPropertyNode, com.oracle.truffle.js.builtins.helper.ListSizeNode, com.oracle.truffle.js.builtins.helper.ListGetNode, com.oracle.truffle.js.runtime.util.JSClassProfile);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/nodes/access/WriteElementNode;Lcom/oracle/truffle/js/nodes/access/ReadElementNode;Lcom/oracle/truffle/js/nodes/access/JSGetOwnPropertyNode;Lcom/oracle/truffle/js/builtins/helper/ListSizeNode;Lcom/oracle/truffle/js/builtins/helper/ListGetNode;Lcom/oracle/truffle/js/runtime/util/JSClassProfile;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=14, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
aload 7
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.ownPropertyKeys:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/util/JSClassProfile;)Ljava/util/List;
astore 8
start local 8 1: aload 5
aload 8
invokevirtual com.oracle.truffle.js.builtins.helper.ListSizeNode.execute:(Ljava/util/List;)I
istore 9
start local 9 2: iconst_0
istore 10
start local 10 3: goto 11
4: StackMap locals: java.util.List int int
StackMap stack:
aload 6
aload 8
iload 10
invokevirtual com.oracle.truffle.js.builtins.helper.ListGetNode.execute:(Ljava/lang/Object;I)Ljava/lang/Object;
astore 11
start local 11 5: getstatic com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$AssignPropertiesNode.$assertionsDisabled:Z
ifne 6
aload 11
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isPropertyKey:(Ljava/lang/Object;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: java.lang.Object
StackMap stack:
aload 4
aload 1
aload 11
invokevirtual com.oracle.truffle.js.nodes.access.JSGetOwnPropertyNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 12
start local 12 7: aload 12
ifnull 10
aload 12
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getEnumerable:()Z
ifeq 10
8: aload 3
aload 1
aload 11
invokevirtual com.oracle.truffle.js.nodes.access.ReadElementNode.executeWithTargetAndIndex:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 13
start local 13 9: aload 2
aload 0
aload 11
aload 13
invokevirtual com.oracle.truffle.js.nodes.access.WriteElementNode.executeWithTargetAndIndexAndValue:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
end local 13 end local 12 end local 11 10: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
11: iload 10
iload 9
if_icmplt 4
end local 10 12: return
end local 9 end local 8 end local 7 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 13 0 to Ljava/lang/Object;
0 13 1 from Lcom/oracle/truffle/api/object/DynamicObject;
0 13 2 write Lcom/oracle/truffle/js/nodes/access/WriteElementNode;
0 13 3 read Lcom/oracle/truffle/js/nodes/access/ReadElementNode;
0 13 4 getOwnProperty Lcom/oracle/truffle/js/nodes/access/JSGetOwnPropertyNode;
0 13 5 listSize Lcom/oracle/truffle/js/builtins/helper/ListSizeNode;
0 13 6 listGet Lcom/oracle/truffle/js/builtins/helper/ListGetNode;
0 13 7 classProfile Lcom/oracle/truffle/js/runtime/util/JSClassProfile;
1 13 8 ownPropertyKeys Ljava/util/List<Ljava/lang/Object;>;
2 13 9 size I
3 12 10 i I
5 10 11 nextKey Ljava/lang/Object;
7 10 12 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
9 10 13 propValue Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(from)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.dsl.Cached(value = "create(context)")
4:
com.oracle.truffle.api.dsl.Cached(value = "create(false)")
5:
com.oracle.truffle.api.dsl.Cached()
6:
com.oracle.truffle.api.dsl.Cached()
7:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
to
from
write
read
getOwnProperty
listSize
listGet
classProfile
protected final void doObject(java.lang.Object, java.lang.Object, com.oracle.truffle.js.nodes.access.WriteElementNode, com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/access/WriteElementNode;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/api/interop/InteropLibrary;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 4
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.isNull:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 4
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.getMembers:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 3: aload 7
aload 5
aload 0
invokestatic com.oracle.truffle.js.runtime.interop.JSInteropUtil.getArraySize:(Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/api/nodes/Node;)J
lstore 8
start local 8 4: lconst_0
lstore 10
start local 10 5: goto 13
6: StackMap locals: java.lang.Object long long
StackMap stack:
aload 5
aload 7
lload 10
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.readArrayElement:(Ljava/lang/Object;J)Ljava/lang/Object;
astore 12
start local 12 7: aload 12
instanceof java.lang.String
ifeq 8
aload 12
checkcast java.lang.String
goto 9
StackMap locals: java.lang.Object
StackMap stack:
8: aload 6
aload 12
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asString:(Ljava/lang/Object;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
9: astore 13
start local 13 10: aload 4
aload 2
aload 13
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.readMember:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 14
start local 14 11: aload 3
aload 1
aload 13
aload 14
invokevirtual com.oracle.truffle.js.nodes.access.WriteElementNode.executeWithTargetAndIndexAndValue:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
end local 14 end local 13 end local 12 12: lload 10
lconst_1
ladd
lstore 10
StackMap locals:
StackMap stack:
13: lload 10
lload 8
lcmp
iflt 6
end local 10 end local 8 end local 7 14: goto 17
StackMap locals: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$AssignPropertiesNode java.lang.Object java.lang.Object com.oracle.truffle.js.nodes.access.WriteElementNode com.oracle.truffle.api.interop.InteropLibrary com.oracle.truffle.api.interop.InteropLibrary com.oracle.truffle.api.interop.InteropLibrary
StackMap stack: com.oracle.truffle.api.interop.InteropException
15: astore 7
start local 7 16: aload 2
aload 7
ldc "CopyDataProperties"
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorInteropException:(Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropException;Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 7 17: StackMap locals:
StackMap stack:
return
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 18 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$AssignPropertiesNode;
0 18 1 to Ljava/lang/Object;
0 18 2 from Ljava/lang/Object;
0 18 3 write Lcom/oracle/truffle/js/nodes/access/WriteElementNode;
0 18 4 fromInterop Lcom/oracle/truffle/api/interop/InteropLibrary;
0 18 5 keysInterop Lcom/oracle/truffle/api/interop/InteropLibrary;
0 18 6 stringInterop Lcom/oracle/truffle/api/interop/InteropLibrary;
3 14 7 members Ljava/lang/Object;
4 14 8 length J
5 14 10 i J
7 12 12 key Ljava/lang/Object;
10 12 13 stringKey Ljava/lang/String;
11 12 14 value Ljava/lang/Object;
16 17 7 e Lcom/oracle/truffle/api/interop/InteropException;
Exception table:
from to target type
2 14 15 Class com.oracle.truffle.api.interop.UnsupportedMessageException
2 14 15 Class com.oracle.truffle.api.interop.InvalidArrayIndexException
2 14 15 Class com.oracle.truffle.api.interop.UnknownIdentifierException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isJSObject(from)"}, limit = "InteropLibraryLimit")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.library.CachedLibrary(value = "from")
4:
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
5:
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
to
from
write
fromInterop
keysInterop
stringInterop
}
SourceFile: "ObjectFunctionBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins
InnerClasses:
abstract AssignPropertiesNode = com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$AssignPropertiesNode of com.oracle.truffle.js.builtins.ObjectFunctionBuiltins
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})