Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/compilationPolicy.cpp @ 21559:be896a1983c0
recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 28 May 2015 15:36:48 +0200 |
parents | 8f2fb6bec986 |
children | 9d78d44d3aac |
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.cpp Wed May 27 13:43:27 2015 +0200 +++ b/src/share/vm/runtime/compilationPolicy.cpp Thu May 28 15:36:48 2015 +0200 @@ -200,7 +200,7 @@ // - if neither is defined - always return zero. int NonTieredCompPolicy::compiler_count(CompLevel comp_level) { assert(!TieredCompilation, "This policy should not be used with TieredCompilation"); -#if defined(COMPILER2) || defined(COMPILERGRAAL) +#if defined(COMPILER2) || defined(COMPILERJVMCI) if (is_c2_compile(comp_level)) { return _compiler_count; } else {