Mercurial > hg > truffle
diff graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/BoundsCatchBase.java @ 14969:a6c144380ce7
HSAIL: added UseHSAILDeoptimization VM option for disabling HSAIL deopt support
Contributed-by: Eric Caspole <eric.caspole@amd.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 04 Apr 2014 12:22:49 +0200 |
parents | 3e9a960f0da1 |
children | 64dcb92ee75a |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/BoundsCatchBase.java Fri Apr 04 12:05:41 2014 +0200 +++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/BoundsCatchBase.java Fri Apr 04 12:22:49 2014 +0200 @@ -55,6 +55,11 @@ } @Override + protected boolean supportsRequiredCapabilities() { + return getHSAILBackend().getRuntime().getConfig().useHSAILDeoptimization; + } + + @Override public void runTest() { setupArrays();