public class com.oracle.truffle.js.test.instrumentation.ReturnNodeTest extends com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.test.instrumentation.ReturnNodeTest
super_class: com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
private void assertReturns(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc Lcom/oracle/truffle/js/nodes/instrumentation/JSTags$ControlFlowBranchTag;
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.evalWithTag:(Ljava/lang/String;Ljava/lang/Class;)Lorg/graalvm/polyglot/Source;
pop
1: aload 0
ldc Lcom/oracle/truffle/js/nodes/instrumentation/JSTags$ControlFlowBranchTag;
invokedynamic accept()Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
com/oracle/truffle/js/test/instrumentation/ReturnNodeTest.lambda$0(Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$Event;Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$AssertedEvent;)V (6)
(Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$Event;Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$AssertedEvent;)V
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.enter:(Ljava/lang/Class;Ljava/util/function/BiConsumer;)Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$AssertedEvent;
2: invokevirtual com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest$AssertedEvent.exitMaybeControlFlowException:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
0 4 1 src Ljava/lang/String;
MethodParameters:
Name Flags
src
public void functionExpReturn();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "(function() { return 42; })()"
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.assertReturns:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void asyncReturn();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "(async function() { return 42; })()"
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.assertReturns:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void arrowReturn();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "(() => { return 42; })()"
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.assertReturns:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void asyncArrowReturn();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "(async () => { return 42; })()"
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.assertReturns:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void nonTerminalReturn();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "(function() { return 42; var x = 'ignored'; })()"
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.assertReturns:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void noReturn();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "(function() {})()"
ldc Lcom/oracle/truffle/js/nodes/instrumentation/JSTags$ControlFlowBranchTag;
invokevirtual com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.evalWithTag:(Ljava/lang/String;Ljava/lang/Class;)Lorg/graalvm/polyglot/Source;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/instrumentation/ReturnNodeTest;
RuntimeVisibleAnnotations:
org.junit.Test()
private static void lambda$0(com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest$Event, com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest$AssertedEvent);
descriptor: (Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$Event;Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$AssertedEvent;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "type"
getstatic com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowBranchTag$Type.Return:Lcom/oracle/truffle/js/nodes/instrumentation/JSTags$ControlFlowBranchTag$Type;
invokevirtual com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowBranchTag$Type.name:()Ljava/lang/String;
invokestatic com.oracle.truffle.js.test.instrumentation.ReturnNodeTest.assertAttribute:(Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$Event;Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest$AssertedEvent.input:(Ljava/lang/Object;)Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$AssertedEvent;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 e Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$Event;
0 3 1 ret Lcom/oracle/truffle/js/test/instrumentation/FineGrainedAccessTest$AssertedEvent;
}
SourceFile: "ReturnNodeTest.java"
InnerClasses:
public final ControlFlowBranchTag = com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowBranchTag of com.oracle.truffle.js.nodes.instrumentation.JSTags
public final Type = com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowBranchTag$Type of com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowBranchTag
AssertedEvent = com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest$AssertedEvent of com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest
protected Event = com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest$Event of com.oracle.truffle.js.test.instrumentation.FineGrainedAccessTest
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles