public class com.oracle.truffle.llvm.tests.bitcode.BigEndianTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.bitcode.BigEndianTest
super_class: java.lang.Object
{
private static final java.nio.file.Path TEST_DIR;
descriptor: Ljava/nio/file/Path;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String FILENAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "O0.bc"
public static com.oracle.truffle.tck.TruffleRunner$RunWithPolyglotRule runWithPolyglot;
descriptor: Lcom/oracle/truffle/tck/TruffleRunner$RunWithPolyglotRule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
RuntimeVisibleAnnotations:
org.junit.ClassRule()
public org.junit.rules.ExpectedException exception;
descriptor: Lorg/junit/rules/ExpectedException;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.Rule()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.io.File
dup
getstatic com.oracle.truffle.llvm.tests.options.TestOptions.LL_TEST_SUITE_PATH:Ljava/lang/String;
ldc "other"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
putstatic com.oracle.truffle.llvm.tests.bitcode.BigEndianTest.TEST_DIR:Ljava/nio/file/Path;
1: new com.oracle.truffle.tck.TruffleRunner$RunWithPolyglotRule
dup
invokespecial com.oracle.truffle.tck.TruffleRunner$RunWithPolyglotRule.<init>:()V
putstatic com.oracle.truffle.llvm.tests.bitcode.BigEndianTest.runWithPolyglot:Lcom/oracle/truffle/tck/TruffleRunner$RunWithPolyglotRule;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.junit.rules.ExpectedException.none:()Lorg/junit/rules/ExpectedException;
putfield com.oracle.truffle.llvm.tests.bitcode.BigEndianTest.exception:Lorg/junit/rules/ExpectedException;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/tests/bitcode/BigEndianTest;
public void testBitEndianDataLayout();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.bitcode.BigEndianTest.TEST_DIR:Ljava/nio/file/Path;
ldc "big_endian.ll.dir"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
ldc "O0.bc"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
astore 1
start local 1 1: ldc "llvm"
aload 1
invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/io/File;)Lorg/graalvm/polyglot/Source$Builder;
invokevirtual org.graalvm.polyglot.Source$Builder.build:()Lorg/graalvm/polyglot/Source;
astore 2
start local 2 2: aload 0
getfield com.oracle.truffle.llvm.tests.bitcode.BigEndianTest.exception:Lorg/junit/rules/ExpectedException;
ldc Lorg/graalvm/polyglot/PolyglotException;
invokevirtual org.junit.rules.ExpectedException.expect:(Ljava/lang/Class;)V
3: aload 0
getfield com.oracle.truffle.llvm.tests.bitcode.BigEndianTest.exception:Lorg/junit/rules/ExpectedException;
ldc "Byte order BIG_ENDIAN"
invokevirtual org.junit.rules.ExpectedException.expectMessage:(Ljava/lang/String;)V
4: getstatic com.oracle.truffle.llvm.tests.bitcode.BigEndianTest.runWithPolyglot:Lcom/oracle/truffle/tck/TruffleRunner$RunWithPolyglotRule;
invokevirtual com.oracle.truffle.tck.TruffleRunner$RunWithPolyglotRule.getPolyglotContext:()Lorg/graalvm/polyglot/Context;
aload 2
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/tests/bitcode/BigEndianTest;
1 6 1 file Ljava/io/File;
2 6 2 source Lorg/graalvm/polyglot/Source;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "BigEndianTest.java"
InnerClasses:
public final RunWithPolyglotRule = com.oracle.truffle.tck.TruffleRunner$RunWithPolyglotRule of com.oracle.truffle.tck.TruffleRunner
public Builder = org.graalvm.polyglot.Source$Builder of org.graalvm.polyglot.Source