comparison src/share/vm/c1/c1_Compilation.cpp @ 7201:c5d414e98fd4

8003983: LogCompilation tool is broken since c1 support Summary: Fixed emitting and parsing Reviewed-by: jrose, kvn
author neliasso
date Mon, 26 Nov 2012 15:11:55 +0100
parents d804e148cff8
children 46f6f063b272
comparison
equal deleted inserted replaced
7200:dd38cfd12c3a 7201:c5d414e98fd4
127 127
128 void Compilation::build_hir() { 128 void Compilation::build_hir() {
129 CHECK_BAILOUT(); 129 CHECK_BAILOUT();
130 130
131 // setup ir 131 // setup ir
132 CompileLog* log = this->log();
133 if (log != NULL) {
134 log->begin_head("parse method='%d' ",
135 log->identify(_method));
136 log->stamp();
137 log->end_head();
138 }
132 _hir = new IR(this, method(), osr_bci()); 139 _hir = new IR(this, method(), osr_bci());
140 if (log) log->done("parse");
133 if (!_hir->is_valid()) { 141 if (!_hir->is_valid()) {
134 bailout("invalid parsing"); 142 bailout("invalid parsing");
135 return; 143 return;
136 } 144 }
137 145