use of org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode in project graal by oracle.
the class ClassfileBytecodeProviderTest method checkMethod.
private static void checkMethod(ClassfileBytecodeProvider cbp, MetaAccessProvider metaAccess, Executable executable) {
ResolvedJavaMethod method = metaAccess.lookupJavaMethod(executable);
if (method.hasBytecodes()) {
ResolvedJavaMethodBytecode expected = new ResolvedJavaMethodBytecode(method);
Bytecode actual = getBytecode(cbp, method);
new BytecodeComparer(expected, actual).compare();
}
}
Aggregations