class com.oracle.truffle.js.nodes.control.YieldStarNode extends com.oracle.truffle.js.nodes.control.YieldNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.js.nodes.control.YieldStarNode
super_class: com.oracle.truffle.js.nodes.control.YieldNode
{
private com.oracle.truffle.js.nodes.access.GetIteratorNode getIteratorNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.IteratorNextNode iteratorNextNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/IteratorNextNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.IteratorCompleteNode iteratorCompleteNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/IteratorCompleteNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.IteratorValueNode iteratorValueNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/IteratorValueNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.GetMethodNode getThrowMethodNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.GetMethodNode getReturnMethodNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callThrowNode;
descriptor: Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callReturnNode;
descriptor: Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
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.api.profiles.ConditionProfile returnOrExceptionProfile;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.profiles.BranchProfile errorBranch;
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/nodes/control/YieldStarNode;
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.control.YieldStarNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.control.ReturnNode, com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/control/ReturnNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial com.oracle.truffle.js.nodes.control.YieldNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/control/ReturnNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;)V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.returnOrExceptionProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
3: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.access.GetIteratorNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.getIteratorNode:Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
4: aload 0
invokestatic com.oracle.truffle.js.nodes.access.IteratorNextNode.create:()Lcom/oracle/truffle/js/nodes/access/IteratorNextNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorNextNode:Lcom/oracle/truffle/js/nodes/access/IteratorNextNode;
5: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.access.IteratorCompleteNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/IteratorCompleteNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorCompleteNode:Lcom/oracle/truffle/js/nodes/access/IteratorCompleteNode;
6: aload 0
aload 1
aconst_null
invokestatic com.oracle.truffle.js.nodes.access.IteratorValueNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Lcom/oracle/truffle/js/nodes/access/IteratorValueNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorValueNode:Lcom/oracle/truffle/js/nodes/access/IteratorValueNode;
7: aload 0
aload 1
aconst_null
ldc "throw"
invokestatic com.oracle.truffle.js.nodes.access.GetMethodNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/lang/Object;)Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.getThrowMethodNode:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
8: aload 0
aload 1
aconst_null
ldc "return"
invokestatic com.oracle.truffle.js.nodes.access.GetMethodNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/lang/Object;)Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.getReturnMethodNode:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
9: aload 0
invokestatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode.createCall:()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.callThrowNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
10: aload 0
invokestatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode.createCall:()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.callReturnNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
11: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.access.IteratorCloseNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
putfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
12: return
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 this Lcom/oracle/truffle/js/nodes/control/YieldStarNode;
0 13 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 13 2 expression Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 13 3 yieldValue Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 13 4 returnNode Lcom/oracle/truffle/js/nodes/control/ReturnNode;
0 13 5 writeYieldResultNode Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
MethodParameters:
Name Flags
context
expression
yieldValue
returnNode
writeYieldResultNode
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=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.getIteratorNode:Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.expression: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;
invokevirtual com.oracle.truffle.js.nodes.access.GetIteratorNode.execute:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
astore 2
start local 2 1: getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
astore 3
start local 3 2: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorNextNode:Lcom/oracle/truffle/js/nodes/access/IteratorNextNode;
aload 2
aload 3
invokevirtual com.oracle.truffle.js.nodes.access.IteratorNextNode.execute:(Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 3: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorCompleteNode:Lcom/oracle/truffle/js/nodes/access/IteratorCompleteNode;
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCompleteNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifeq 5
4: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorValueNode:Lcom/oracle/truffle/js/nodes/access/IteratorValueNode;
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.IteratorValueNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
areturn
5: StackMap locals: com.oracle.truffle.js.runtime.objects.IteratorRecord java.lang.Object com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 0
aload 1
aload 2
aload 4
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.saveStateAndYield:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
areturn
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/nodes/control/YieldStarNode;
0 6 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 6 2 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
2 6 3 received Ljava/lang/Object;
3 6 4 innerResult Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
private java.lang.Object saveStateAndYield(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.js.runtime.objects.IteratorRecord, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.setState:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)V
1: aload 0
aload 1
aload 3
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.generatorYield:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
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/nodes/control/YieldStarNode;
0 2 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 2 2 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
0 2 3 innerResult Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
iteratorRecord
innerResult
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=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.getState:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 3
2: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.resetState:(Lcom/oracle/truffle/api/frame/VirtualFrame;)V
4: aload 2
checkcast com.oracle.truffle.js.runtime.objects.IteratorRecord
astore 3
start local 3 5: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.yieldValue: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 4
start local 4 6: aload 4
instanceof com.oracle.truffle.js.runtime.objects.Completion
ifne 11
7: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorNextNode:Lcom/oracle/truffle/js/nodes/access/IteratorNextNode;
aload 3
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.IteratorNextNode.execute:(Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5
start local 5 8: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorCompleteNode:Lcom/oracle/truffle/js/nodes/access/IteratorCompleteNode;
aload 5
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCompleteNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifeq 10
9: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorValueNode:Lcom/oracle/truffle/js/nodes/access/IteratorValueNode;
aload 5
invokevirtual com.oracle.truffle.js.nodes.access.IteratorValueNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
areturn
10: StackMap locals: com.oracle.truffle.js.runtime.objects.IteratorRecord java.lang.Object com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 0
aload 1
aload 3
aload 5
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.saveStateAndYield:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
areturn
end local 5 11: StackMap locals:
StackMap stack:
aload 4
checkcast com.oracle.truffle.js.runtime.objects.Completion
astore 5
start local 5 12: aload 5
invokevirtual com.oracle.truffle.js.runtime.objects.Completion.getValue:()Ljava/lang/Object;
astore 4
13: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.returnOrExceptionProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 5
invokevirtual com.oracle.truffle.js.runtime.objects.Completion.isThrow:()Z
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 15
14: aload 0
aload 1
aload 3
aload 4
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.resumeThrow:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Ljava/lang/Object;)Ljava/lang/Object;
areturn
15: StackMap locals: com.oracle.truffle.js.runtime.objects.Completion
StackMap stack:
getstatic com.oracle.truffle.js.nodes.control.YieldStarNode.$assertionsDisabled:Z
ifne 16
aload 5
invokevirtual com.oracle.truffle.js.runtime.objects.Completion.isReturn:()Z
ifne 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
aload 4
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.resumeReturn:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Ljava/lang/Object;)Ljava/lang/Object;
areturn
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 17 0 this Lcom/oracle/truffle/js/nodes/control/YieldStarNode;
0 17 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 17 2 state Ljava/lang/Object;
5 17 3 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
6 17 4 received Ljava/lang/Object;
8 11 5 innerResult Lcom/oracle/truffle/api/object/DynamicObject;
12 17 5 completion Lcom/oracle/truffle/js/runtime/objects/Completion;
MethodParameters:
Name Flags
frame
private java.lang.Object resumeReturn(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.js.runtime.objects.IteratorRecord, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.getIterator:()Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 1: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.getReturnMethodNode:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.GetMethodNode.executeWithTarget:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 2: aload 5
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 4
3: aload 0
aload 1
aload 3
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.returnValue:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)Ljava/lang/Object;
areturn
4: StackMap locals: com.oracle.truffle.api.object.DynamicObject java.lang.Object
StackMap stack:
aload 0
aload 4
aload 3
aload 5
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.callReturnMethod:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 6
start local 6 5: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorCompleteNode:Lcom/oracle/truffle/js/nodes/access/IteratorCompleteNode;
aload 6
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCompleteNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifeq 7
6: aload 0
aload 1
aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorValueNode:Lcom/oracle/truffle/js/nodes/access/IteratorValueNode;
aload 6
invokevirtual com.oracle.truffle.js.nodes.access.IteratorValueNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.returnValue:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)Ljava/lang/Object;
areturn
7: StackMap locals: com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 0
aload 1
aload 2
aload 6
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.saveStateAndYield:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
areturn
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 8 0 this Lcom/oracle/truffle/js/nodes/control/YieldStarNode;
0 8 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 8 2 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
0 8 3 received Ljava/lang/Object;
1 8 4 iterator Lcom/oracle/truffle/api/object/DynamicObject;
2 8 5 returnMethod Ljava/lang/Object;
5 8 6 innerReturnResult Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
iteratorRecord
received
private java.lang.Object resumeThrow(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.js.runtime.objects.IteratorRecord, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.getIterator:()Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 1: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.getThrowMethodNode:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.GetMethodNode.executeWithTarget:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 2: aload 5
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 7
3: aload 0
aload 4
aload 3
aload 5
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.callThrowMethod:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 6
start local 6 4: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorCompleteNode:Lcom/oracle/truffle/js/nodes/access/IteratorCompleteNode;
aload 6
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCompleteNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifeq 6
5: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorValueNode:Lcom/oracle/truffle/js/nodes/access/IteratorValueNode;
aload 6
invokevirtual com.oracle.truffle.js.nodes.access.IteratorValueNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
areturn
6: StackMap locals: com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 0
aload 1
aload 2
aload 6
invokevirtual com.oracle.truffle.js.nodes.control.YieldStarNode.saveStateAndYield:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
areturn
end local 6 7: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
8: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCloseNode.executeVoid:(Lcom/oracle/truffle/api/object/DynamicObject;)V
9: aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorYieldStarThrowMethodMissing:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
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 10 0 this Lcom/oracle/truffle/js/nodes/control/YieldStarNode;
0 10 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 10 2 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
0 10 3 received Ljava/lang/Object;
1 10 4 iterator Lcom/oracle/truffle/api/object/DynamicObject;
2 10 5 throwMethod Ljava/lang/Object;
4 7 6 innerResult Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
iteratorRecord
received
private com.oracle.truffle.api.object.DynamicObject callThrowMethod(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.callThrowNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
aload 1
aload 3
aload 2
invokestatic com.oracle.truffle.js.runtime.JSArguments.createOneArg:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall:([Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isObject:(Ljava/lang/Object;)Z
ifne 4
2: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
3: aload 4
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorIterResultNotAnObject:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 4
checkcast com.oracle.truffle.api.object.DynamicObject
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/control/YieldStarNode;
0 5 1 iterator Lcom/oracle/truffle/api/object/DynamicObject;
0 5 2 received Ljava/lang/Object;
0 5 3 throwMethod Ljava/lang/Object;
1 5 4 innerResult Ljava/lang/Object;
MethodParameters:
Name Flags
iterator
received
throwMethod
private com.oracle.truffle.api.object.DynamicObject callReturnMethod(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.callReturnNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
aload 1
aload 3
aload 2
invokestatic com.oracle.truffle.js.runtime.JSArguments.createOneArg:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall:([Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isObject:(Ljava/lang/Object;)Z
ifne 4
2: aload 0
getfield com.oracle.truffle.js.nodes.control.YieldStarNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
3: aload 4
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorIterResultNotAnObject:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 4
checkcast com.oracle.truffle.api.object.DynamicObject
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/control/YieldStarNode;
0 5 1 iterator Lcom/oracle/truffle/api/object/DynamicObject;
0 5 2 received Ljava/lang/Object;
0 5 3 returnMethod Ljava/lang/Object;
1 5 4 innerResult Ljava/lang/Object;
MethodParameters:
Name Flags
iterator
received
returnMethod
}
SourceFile: "YieldNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node