Mercurial > hg > graal-compiler
comparison test/compiler/whitebox/DeoptimizeMethodTest.java @ 9080:b84fd7d73702
8007288: Additional WB API for compiler's testing
Reviewed-by: kvn, vlivanov
author | iignatyev |
---|---|
date | Tue, 09 Apr 2013 09:54:17 -0700 |
parents | 4efac99a998b |
children | 4b2eebe03f93 |
comparison
equal
deleted
inserted
replaced
9079:f67065f02409 | 9080:b84fd7d73702 |
---|---|
31 */ | 31 */ |
32 public class DeoptimizeMethodTest extends CompilerWhiteBoxTest { | 32 public class DeoptimizeMethodTest extends CompilerWhiteBoxTest { |
33 | 33 |
34 public static void main(String[] args) throws Exception { | 34 public static void main(String[] args) throws Exception { |
35 // to prevent inlining #method into #compile() | 35 // to prevent inlining #method into #compile() |
36 WHITE_BOX.setDontInlineMethod(METHOD, true); | 36 WHITE_BOX.testSetDontInlineMethod(METHOD, true); |
37 new DeoptimizeMethodTest().runTest(); | 37 new DeoptimizeMethodTest().runTest(); |
38 } | 38 } |
39 | 39 |
40 protected void test() throws Exception { | 40 protected void test() throws Exception { |
41 compile(); | 41 compile(); |