Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCompiler.cpp @ 22768:8f5a558875f4
Fix compiler warning.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Wed, 13 Jan 2016 16:41:53 +0100 |
parents | d88299d598d6 |
children | 1fbfcc0334d3 |
comparison
equal
deleted
inserted
replaced
22767:d88299d598d6 | 22768:8f5a558875f4 |
---|---|
171 const char* failure_reason = failure != NULL ? java_lang_String::as_utf8_string(failure) : "unknown reason"; | 171 const char* failure_reason = failure != NULL ? java_lang_String::as_utf8_string(failure) : "unknown reason"; |
172 | 172 |
173 env->task()->set_failure_reason(failure_reason); | 173 env->task()->set_failure_reason(failure_reason); |
174 if (PrintCompilation) { | 174 if (PrintCompilation) { |
175 FormatBufferResource msg = CompilationRequestFailure::retry(request) ? | 175 FormatBufferResource msg = CompilationRequestFailure::retry(request) ? |
176 err_msg_res("COMPILE SKIPPED: (not_retryable)", failure_reason) : | 176 err_msg_res("COMPILE SKIPPED: %s (not_retryable)", failure_reason) : |
177 err_msg_res("COMPILE SKIPPED: %s", failure_reason); | 177 err_msg_res("COMPILE SKIPPED: %s", failure_reason); |
178 env->task()->print_compilation(tty, msg); | 178 env->task()->print_compilation(tty, msg); |
179 } | 179 } |
180 if (!CompilationRequestFailure::retry(request)) { | 180 if (!CompilationRequestFailure::retry(request)) { |
181 if (entry_bci == InvocationEntryBci) { | 181 if (entry_bci == InvocationEntryBci) { |