Mercurial > hg > graal-jvmci-8
comparison src/share/vm/compiler/compileBroker.cpp @ 14132:5bf75c95ed56
compileBroker: remove unnecessary code in initialization of compilers
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Tue, 11 Mar 2014 18:03:09 +0100 |
parents | 7ad529321294 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
14131:2c538e48bb1a | 14132:5bf75c95ed56 |
---|---|
793 int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple); | 793 int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple); |
794 int c2_count = CompilationPolicy::policy()->compiler_count(CompLevel_full_optimization); | 794 int c2_count = CompilationPolicy::policy()->compiler_count(CompLevel_full_optimization); |
795 #ifdef GRAAL | 795 #ifdef GRAAL |
796 GraalCompiler* graal = new GraalCompiler(); | 796 GraalCompiler* graal = new GraalCompiler(); |
797 #endif | 797 #endif |
798 #if defined(COMPILERGRAAL) && !defined(TIERED) | |
799 _compilers[0] = graal; | |
800 c1_count = 0; | |
801 c2_count = 0; | |
802 #endif // COMPILERGRAAL && !TIERED | |
803 | 798 |
804 #ifdef COMPILER1 | 799 #ifdef COMPILER1 |
805 if (c1_count > 0) { | 800 if (c1_count > 0) { |
806 _compilers[0] = new Compiler(); | 801 _compilers[0] = new Compiler(); |
807 } | 802 } |