public abstract class com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation extends com.oracle.truffle.js.builtins.ObjectPrototypeBuiltins$ObjectOperation
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation
super_class: com.oracle.truffle.js.builtins.ObjectPrototypeBuiltins$ObjectOperation
{
private com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode toPropertyDescriptorNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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.ObjectPrototypeBuiltins$ObjectOperation.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: return
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$ObjectDefineOperation;
0 2 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 2 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
protected com.oracle.truffle.js.runtime.objects.PropertyDescriptor toPropertyDescriptor(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation.toPropertyDescriptorNode:Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
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$ObjectDefineOperation.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode
putfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation.toPropertyDescriptorNode:Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation.toPropertyDescriptorNode:Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.objects.PropertyDescriptor
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectDefineOperation;
0 4 1 target Ljava/lang/Object;
MethodParameters:
Name Flags
target
protected com.oracle.truffle.api.object.DynamicObject intlDefineProperties(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=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 2
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getJSClass:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSClass;
astore 4
start local 4 2: aload 4
aload 2
invokevirtual com.oracle.truffle.js.runtime.builtins.JSClass.ownPropertyKeys:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject java.util.List com.oracle.truffle.js.runtime.builtins.JSClass top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 4: aload 4
aload 2
aload 5
invokevirtual com.oracle.truffle.js.runtime.builtins.JSClass.getOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 7
start local 7 5: aload 7
ifnull 8
aload 7
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getEnumerable:()Z
ifeq 8
6: aload 0
aload 4
aload 2
aload 5
invokevirtual com.oracle.truffle.js.runtime.builtins.JSClass.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation.toPropertyDescriptor:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 8
start local 8 7: aload 3
new com.oracle.truffle.js.runtime.util.Pair
dup
aload 5
aload 8
invokespecial com.oracle.truffle.js.runtime.util.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
invokestatic com.oracle.truffle.js.runtime.Boundaries.listAdd:(Ljava/util/List;Ljava/lang/Object;)V
end local 8 end local 7 end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals:
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.util.Pair
astore 5
start local 5 11: aload 1
aload 5
invokevirtual com.oracle.truffle.js.runtime.util.Pair.getFirst:()Ljava/lang/Object;
aload 5
invokevirtual com.oracle.truffle.js.runtime.util.Pair.getSecond:()Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.objects.PropertyDescriptor
invokestatic com.oracle.truffle.js.runtime.JSRuntime.definePropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;)V
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/js/builtins/ObjectFunctionBuiltins$ObjectDefineOperation;
0 14 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
0 14 2 descs Lcom/oracle/truffle/api/object/DynamicObject;
1 14 3 descriptors Ljava/util/List<Lcom/oracle/truffle/js/runtime/util/Pair<Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;>;>;
2 14 4 descsClass Lcom/oracle/truffle/js/runtime/builtins/JSClass;
4 8 5 key Ljava/lang/Object;
5 8 7 keyDesc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
7 8 8 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
11 12 5 descPair Lcom/oracle/truffle/js/runtime/util/Pair<Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
obj
descs
}
SourceFile: "ObjectFunctionBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.ObjectFunctionBuiltins
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 ObjectDefineOperation = com.oracle.truffle.js.builtins.ObjectFunctionBuiltins$ObjectDefineOperation of com.oracle.truffle.js.builtins.ObjectFunctionBuiltins
public abstract ObjectOperation = com.oracle.truffle.js.builtins.ObjectPrototypeBuiltins$ObjectOperation of com.oracle.truffle.js.builtins.ObjectPrototypeBuiltins