public abstract class com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode 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.access.CopyDataPropertiesNode
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/nodes/access/CopyDataPropertiesNode;
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.access.CopyDataPropertiesNode.$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.nodes.access.CopyDataPropertiesNode.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/nodes/access/CopyDataPropertiesNode;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public static com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/CopyDataPropertiesNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tCopyDataPropertiesNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
public final java.lang.Object execute(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
iconst_0
invokevirtual com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode.executeImpl:(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/CopyDataPropertiesNode;
0 1 1 target Ljava/lang/Object;
0 1 2 source Ljava/lang/Object;
MethodParameters:
Name Flags
target
source
public final java.lang.Object execute(java.lang.Object, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokevirtual com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode.executeImpl:(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object;
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/access/CopyDataPropertiesNode;
0 1 1 target Ljava/lang/Object;
0 1 2 source Ljava/lang/Object;
0 1 3 excludedItems [Ljava/lang/Object;
MethodParameters:
Name Flags
target
source
excludedItems
protected abstract java.lang.Object executeImpl(java.lang.Object, java.lang.Object, java.lang.Object[], boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
target
source
excludedItems
withExcluded
protected static com.oracle.truffle.api.object.DynamicObject doNullOrUndefined(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object[], boolean);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;[Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 target Lcom/oracle/truffle/api/object/DynamicObject;
0 1 1 value Ljava/lang/Object;
0 1 2 excludedItems [Ljava/lang/Object;
0 1 3 withExcluded Z
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isNullOrUndefined(value)"})
MethodParameters:
Name Flags
target
value
excludedItems
withExcluded
protected static com.oracle.truffle.api.object.DynamicObject copyDataProperties(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.DynamicObject, java.lang.Object[], boolean, 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: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;[Ljava/lang/Object;ZLcom/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;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=15, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 1
aload 8
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 9
start local 9 1: aload 6
aload 9
invokevirtual com.oracle.truffle.js.builtins.helper.ListSizeNode.execute:(Ljava/util/List;)I
istore 10
start local 10 2: iconst_0
istore 11
start local 11 3: goto 12
4: StackMap locals: java.util.List int int
StackMap stack:
aload 7
aload 9
iload 11
invokevirtual com.oracle.truffle.js.builtins.helper.ListGetNode.execute:(Ljava/lang/Object;I)Ljava/lang/Object;
astore 12
start local 12 5: getstatic com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode.$assertionsDisabled:Z
ifne 6
aload 12
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:
iload 3
aload 2
aload 12
invokestatic com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode.isExcluded:(Z[Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 11
7: aload 5
aload 1
aload 12
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 13
start local 13 8: aload 13
ifnull 11
aload 13
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getEnumerable:()Z
ifeq 11
9: aload 4
aload 1
aload 12
invokevirtual com.oracle.truffle.js.nodes.access.ReadElementNode.executeWithTargetAndIndex:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 14
start local 14 10: aload 0
aload 12
aload 14
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
end local 14 end local 13 end local 12 11: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
12: iload 11
iload 10
if_icmplt 4
end local 11 13: aload 0
areturn
end local 10 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 14 0 target Lcom/oracle/truffle/api/object/DynamicObject;
0 14 1 source Lcom/oracle/truffle/api/object/DynamicObject;
0 14 2 excludedItems [Ljava/lang/Object;
0 14 3 withExcluded Z
0 14 4 getNode Lcom/oracle/truffle/js/nodes/access/ReadElementNode;
0 14 5 getOwnProperty Lcom/oracle/truffle/js/nodes/access/JSGetOwnPropertyNode;
0 14 6 listSize Lcom/oracle/truffle/js/builtins/helper/ListSizeNode;
0 14 7 listGet Lcom/oracle/truffle/js/builtins/helper/ListGetNode;
0 14 8 classProfile Lcom/oracle/truffle/js/runtime/util/JSClassProfile;
1 14 9 ownPropertyKeys Ljava/util/List<Ljava/lang/Object;>;
2 14 10 size I
3 13 11 i I
5 11 12 nextKey Ljava/lang/Object;
8 11 13 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
10 11 14 propValue Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(source)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
4:
com.oracle.truffle.api.dsl.Cached(value = "create(context)")
5:
com.oracle.truffle.api.dsl.Cached(value = "create(false)")
6:
com.oracle.truffle.api.dsl.Cached()
7:
com.oracle.truffle.api.dsl.Cached()
8:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
target
source
excludedItems
withExcluded
getNode
getOwnProperty
listSize
listGet
classProfile
private static boolean isExcluded(boolean, java.lang.Object[], java.lang.Object);
descriptor: (Z[Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 0
invokestatic com.oracle.truffle.api.CompilerAsserts.partialEvaluationConstant:(Z)V
1: iload 0
ifeq 9
2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: int java.lang.Object[] java.lang.Object top int int java.lang.Object[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: getstatic com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode.$assertionsDisabled:Z
ifne 5
aload 3
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isPropertyKey:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: int java.lang.Object[] java.lang.Object java.lang.Object int int java.lang.Object[]
StackMap stack:
aload 3
aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.propertyKeyEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
end local 3 7: StackMap locals: int java.lang.Object[] java.lang.Object top int int java.lang.Object[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 3
9: StackMap locals: int java.lang.Object[] java.lang.Object
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 withExcluded Z
0 10 1 excludedKeys [Ljava/lang/Object;
0 10 2 key Ljava/lang/Object;
4 7 3 e Ljava/lang/Object;
MethodParameters:
Name Flags
withExcluded
excludedKeys
key
protected final com.oracle.truffle.api.object.DynamicObject copyDataPropertiesForeign(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object[], boolean, com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.js.nodes.interop.ImportValueNode);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;[Ljava/lang/Object;ZLcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/js/nodes/interop/ImportValueNode;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=17, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 5
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.isNull:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 5
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.getMembers:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 3: aload 9
aload 6
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 10
start local 10 4: lconst_0
lstore 12
start local 12 5: goto 15
6: StackMap locals: java.lang.Object long long
StackMap stack:
aload 6
aload 9
lload 12
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.readArrayElement:(Ljava/lang/Object;J)Ljava/lang/Object;
astore 14
start local 14 7: getstatic com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode.$assertionsDisabled:Z
ifne 8
invokestatic com.oracle.truffle.api.interop.InteropLibrary.getFactory:()Lcom/oracle/truffle/api/library/LibraryFactory;
invokevirtual com.oracle.truffle.api.library.LibraryFactory.getUncached:()Lcom/oracle/truffle/api/library/Library;
checkcast com.oracle.truffle.api.interop.InteropLibrary
aload 14
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.isString:(Ljava/lang/Object;)Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: java.lang.Object
StackMap stack:
aload 14
instanceof java.lang.String
ifeq 9
aload 14
checkcast java.lang.String
goto 10
StackMap locals:
StackMap stack:
9: aload 7
aload 14
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asString:(Ljava/lang/Object;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
10: astore 15
start local 15 11: iload 4
aload 3
aload 15
invokestatic com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode.isExcluded:(Z[Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 14
12: aload 5
aload 2
aload 15
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.readMember:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 16
start local 16 13: aload 1
aload 15
aload 8
aload 16
invokevirtual com.oracle.truffle.js.nodes.interop.ImportValueNode.executeWithTarget:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
end local 16 end local 15 end local 14 14: StackMap locals:
StackMap stack:
lload 12
lconst_1
ladd
lstore 12
StackMap locals:
StackMap stack:
15: lload 12
lload 10
lcmp
iflt 6
end local 12 end local 10 end local 9 16: goto 19
StackMap locals: com.oracle.truffle.js.nodes.access.CopyDataPropertiesNode com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object[] int com.oracle.truffle.api.interop.InteropLibrary com.oracle.truffle.api.interop.InteropLibrary com.oracle.truffle.api.interop.InteropLibrary com.oracle.truffle.js.nodes.interop.ImportValueNode
StackMap stack: com.oracle.truffle.api.interop.InteropException
17: astore 9
start local 9 18: aload 2
aload 9
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 9 19: StackMap locals:
StackMap stack:
aload 1
areturn
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 20 0 this Lcom/oracle/truffle/js/nodes/access/CopyDataPropertiesNode;
0 20 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 20 2 from Ljava/lang/Object;
0 20 3 excludedItems [Ljava/lang/Object;
0 20 4 withExcluded Z
0 20 5 objInterop Lcom/oracle/truffle/api/interop/InteropLibrary;
0 20 6 keysInterop Lcom/oracle/truffle/api/interop/InteropLibrary;
0 20 7 stringInterop Lcom/oracle/truffle/api/interop/InteropLibrary;
0 20 8 importValue Lcom/oracle/truffle/js/nodes/interop/ImportValueNode;
3 16 9 members Ljava/lang/Object;
4 16 10 length J
5 16 12 i J
7 14 14 key Ljava/lang/Object;
11 14 15 stringKey Ljava/lang/String;
13 14 16 value Ljava/lang/Object;
18 19 9 e Lcom/oracle/truffle/api/interop/InteropException;
Exception table:
from to target type
2 16 17 Class com.oracle.truffle.api.interop.UnsupportedMessageException
2 16 17 Class com.oracle.truffle.api.interop.InvalidArrayIndexException
2 16 17 Class com.oracle.truffle.api.interop.UnknownIdentifierException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isJSDynamicObject(from)"}, limit = "InteropLibraryLimit")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
4:
com.oracle.truffle.api.library.CachedLibrary(value = "from")
5:
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
6:
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
7:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
target
from
excludedItems
withExcluded
objInterop
keysInterop
stringInterop
importValue
}
SourceFile: "CopyDataPropertiesNode.java"
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})