6997456: Not possible to build just compiler2

Fix the compiler error. Allow to build just c2 specifying FORCE_TIERED=0 on the command line.

Reviewed-by: never, kvn
This commit is contained in:
Igor Veresov 2010-11-05 14:49:50 -07:00
parent b64a0fd5a4
commit c3d3f0f262
4 changed files with 12 additions and 6 deletions

View file

@ -198,7 +198,7 @@ void print_statistics() {
if (CountCompiledCalls) {
print_method_invocation_histogram();
}
if (ProfileInterpreter || C1UpdateMethodData) {
if (ProfileInterpreter COMPILER1_PRESENT(|| C1UpdateMethodData)) {
print_method_profiling_data();
}
if (TimeCompiler) {