public class com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno extends com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno
super_class: com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
{
private final java.lang.Object setErrno;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
com.oracle.truffle.api.interop.InteropLibrary setErrnoInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final java.lang.Object getErrno;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
com.oracle.truffle.api.interop.InteropLibrary getErrnoInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno this
0: .line 72
aload 0 /* this */
invokespecial com.oracle.truffle.nfi.test.NFITest$NFITestRootNode.<init>:()V
1: .line 74
aload 0 /* this */
ldc "setErrno"
ldc "(sint32):void"
invokestatic com.oracle.truffle.nfi.test.ErrnoNFITest.lookupAndBind:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.setErrno:Ljava/lang/Object;
2: .line 75
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.setErrno:Ljava/lang/Object;
invokestatic com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.getInterop:(Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.setErrnoInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
3: .line 77
aload 0 /* this */
ldc "getErrno"
ldc "():sint32"
invokestatic com.oracle.truffle.nfi.test.ErrnoNFITest.lookupAndBind:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.getErrno:Ljava/lang/Object;
4: .line 78
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.getErrno:Ljava/lang/Object;
invokestatic com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.getInterop:(Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.getErrnoInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
5: .line 72
return
end local 0 // com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/nfi/test/ErrnoNFITest$TestVirtualErrno;
public java.lang.Object executeTest(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 // com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno this
start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
0: .line 82
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.setErrnoInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.setErrno:Ljava/lang/Object;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1 /* frame */
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
iconst_0
aaload
aastore
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: .line 83
invokestatic com.oracle.truffle.nfi.test.ErrnoNFITest.destroyErrno:()V
2: .line 84
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.getErrnoInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno.getErrno:Ljava/lang/Object;
iconst_0
anewarray java.lang.Object
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
end local 0 // com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/nfi/test/ErrnoNFITest$TestVirtualErrno;
0 3 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
Exceptions:
throws com.oracle.truffle.api.interop.InteropException
MethodParameters:
Name Flags
frame
}
SourceFile: "ErrnoNFITest.java"
NestHost: com.oracle.truffle.nfi.test.ErrnoNFITest
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public TestVirtualErrno = com.oracle.truffle.nfi.test.ErrnoNFITest$TestVirtualErrno of com.oracle.truffle.nfi.test.ErrnoNFITest
protected abstract NFITestRootNode = com.oracle.truffle.nfi.test.NFITest$NFITestRootNode of com.oracle.truffle.nfi.test.NFITest