public class com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode extends com.oracle.truffle.js.nodes.JavaScriptNode implements com.oracle.truffle.js.nodes.control.ResumableNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode
super_class: com.oracle.truffle.js.nodes.JavaScriptNode
{
private com.oracle.truffle.js.nodes.JavaScriptNode blockNode;
descriptor: Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.JavaScriptNode iteratorNode;
descriptor: Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.IteratorCloseNode iteratorCloseNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.profiles.BranchProfile throwBranch;
descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.profiles.BranchProfile exitBranch;
descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.profiles.BranchProfile notDoneBranch;
descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.api.interop.InteropLibrary exceptions;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
protected void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptNode.<init>:()V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.throwBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
2: aload 0
invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.exitBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
3: aload 0
invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.notDoneBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
4: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
5: aload 0
aload 2
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.blockNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
6: aload 0
aload 3
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/nodes/control/IteratorCloseWrapperNode;
0 8 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 8 2 block Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 8 3 iterator Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
context
block
iterator
public static com.oracle.truffle.js.nodes.JavaScriptNode create(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode
dup
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 block Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 1 2 iterator Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
context
block
iterator
public java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.blockNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 2
start local 2 1: goto 17
end local 2 StackMap locals:
StackMap stack: com.oracle.truffle.js.nodes.control.YieldException
2: astore 3
start local 3 3: aload 3
athrow
end local 3 4: StackMap locals:
StackMap stack: com.oracle.truffle.api.nodes.ControlFlowException
astore 3
start local 3 5: aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.exitBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
6: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.getIteratorRecord:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
astore 4
start local 4 7: aload 4
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.isDone:()Z
ifne 9
8: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorClose:()Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
aload 4
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.getIterator:()Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCloseNode.executeVoid:(Lcom/oracle/truffle/api/object/DynamicObject;)V
9: StackMap locals: com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode com.oracle.truffle.api.frame.VirtualFrame top com.oracle.truffle.api.nodes.ControlFlowException com.oracle.truffle.js.runtime.objects.IteratorRecord
StackMap stack:
aload 3
athrow
end local 4 end local 3 10: StackMap locals: com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode com.oracle.truffle.api.frame.VirtualFrame
StackMap stack: java.lang.Throwable
astore 3
start local 3 11: aload 3
aload 0
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.exceptions:()Lcom/oracle/truffle/api/interop/InteropLibrary;
invokestatic com.oracle.truffle.js.nodes.control.TryCatchNode.shouldCatch:(Ljava/lang/Throwable;Lcom/oracle/truffle/api/interop/InteropLibrary;)Z
ifeq 16
12: aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.throwBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
13: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.getIteratorRecord:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
astore 4
start local 4 14: aload 4
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.isDone:()Z
ifne 16
15: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorClose:()Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
aload 4
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.getIterator:()Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCloseNode.executeAbrupt:(Lcom/oracle/truffle/api/object/DynamicObject;)V
end local 4 16: StackMap locals: com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode com.oracle.truffle.api.frame.VirtualFrame top java.lang.Throwable
StackMap stack:
aload 3
athrow
end local 3 start local 2 17: StackMap locals: com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode com.oracle.truffle.api.frame.VirtualFrame java.lang.Object
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.getIteratorRecord:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
astore 3
start local 3 18: aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.isDone:()Z
ifne 21
19: aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.notDoneBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
20: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorClose:()Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.getIterator:()Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCloseNode.executeVoid:(Lcom/oracle/truffle/api/object/DynamicObject;)V
21: StackMap locals: com.oracle.truffle.js.runtime.objects.IteratorRecord
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/js/nodes/control/IteratorCloseWrapperNode;
0 22 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 2 2 result Ljava/lang/Object;
17 22 2 result Ljava/lang/Object;
3 4 3 e Lcom/oracle/truffle/js/nodes/control/YieldException;
5 10 3 e Lcom/oracle/truffle/api/nodes/ControlFlowException;
7 10 4 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
11 17 3 e Ljava/lang/Throwable;
14 16 4 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
18 22 3 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
Exception table:
from to target type
0 1 2 Class com.oracle.truffle.js.nodes.control.YieldException
0 1 4 Class com.oracle.truffle.api.nodes.ControlFlowException
0 1 10 Class java.lang.Throwable
MethodParameters:
Name Flags
frame
private com.oracle.truffle.js.runtime.objects.IteratorRecord getIteratorRecord(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.objects.IteratorRecord
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/control/IteratorCloseWrapperNode;
0 1 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
MethodParameters:
Name Flags
frame
public java.lang.Object resume(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/control/IteratorCloseWrapperNode;
0 1 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
MethodParameters:
Name Flags
frame
private com.oracle.truffle.js.nodes.access.IteratorCloseNode iteratorClose();
descriptor: ()Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.IteratorCloseNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.IteratorCloseNode
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/control/IteratorCloseWrapperNode;
private com.oracle.truffle.api.interop.InteropLibrary exceptions();
descriptor: ()Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.exceptions:Lcom/oracle/truffle/api/interop/InteropLibrary;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
3: aload 0
aload 0
invokestatic com.oracle.truffle.api.interop.InteropLibrary.getFactory:()Lcom/oracle/truffle/api/library/LibraryFactory;
iconst_5
invokevirtual com.oracle.truffle.api.library.LibraryFactory.createDispatched:(I)Lcom/oracle/truffle/api/library/Library;
checkcast com.oracle.truffle.api.interop.InteropLibrary
invokevirtual com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.api.interop.InteropLibrary
dup
astore 1
putfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.exceptions:Lcom/oracle/truffle/api/interop/InteropLibrary;
4: StackMap locals: com.oracle.truffle.api.interop.InteropLibrary
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/control/IteratorCloseWrapperNode;
1 5 1 e Lcom/oracle/truffle/api/interop/InteropLibrary;
protected com.oracle.truffle.js.nodes.JavaScriptNode copyUninitialized(java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode
dup
aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.blockNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 0
getfield com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.iteratorNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
invokespecial com.oracle.truffle.js.nodes.control.IteratorCloseWrapperNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/control/IteratorCloseWrapperNode;
0 1 1 materializedTags Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
materializedTags
}
SourceFile: "IteratorCloseWrapperNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node