Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/JVMCICompiler.java @ 22767:d88299d598d6
Add support for passing back bailout messages
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 12 Jan 2016 12:54:31 -0800 |
parents | 1ecbf6cc9ab0 |
children | 1fbfcc0334d3 |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/JVMCICompiler.java Tue Jan 12 15:03:56 2016 +0100 +++ b/jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/JVMCICompiler.java Tue Jan 12 12:54:31 2016 -0800 @@ -23,6 +23,7 @@ package jdk.vm.ci.runtime; import jdk.vm.ci.code.CompilationRequest; +import jdk.vm.ci.code.CompilationRequestFailure; public interface JVMCICompiler { int INVOCATION_ENTRY_BCI = -1; @@ -31,5 +32,5 @@ * Services a compilation request. This object should compile the method to machine code and * install it in the code cache if the compilation is successful. */ - void compileMethod(CompilationRequest request); + CompilationRequestFailure compileMethod(CompilationRequest request); }