mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8003983: LogCompilation tool is broken since c1 support
Fixed emitting and parsing Reviewed-by: jrose, kvn
This commit is contained in:
parent
c5240e7c53
commit
42c0192ee6
3 changed files with 18 additions and 8 deletions
|
@ -129,7 +129,15 @@ void Compilation::build_hir() {
|
|||
CHECK_BAILOUT();
|
||||
|
||||
// setup ir
|
||||
CompileLog* log = this->log();
|
||||
if (log != NULL) {
|
||||
log->begin_head("parse method='%d' ",
|
||||
log->identify(_method));
|
||||
log->stamp();
|
||||
log->end_head();
|
||||
}
|
||||
_hir = new IR(this, method(), osr_bci());
|
||||
if (log) log->done("parse");
|
||||
if (!_hir->is_valid()) {
|
||||
bailout("invalid parsing");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue