mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6666343: Compile::has_loops not always set correctly
Compile::has_loops() should be set from inlined methods Reviewed-by: kvn, rasbold
This commit is contained in:
parent
20046c1a18
commit
641bce6847
1 changed files with 2 additions and 0 deletions
|
@ -390,6 +390,8 @@ void Parse::do_call() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cg->is_inline()) {
|
if (cg->is_inline()) {
|
||||||
|
// Accumulate has_loops estimate
|
||||||
|
C->set_has_loops(C->has_loops() || call_method->has_loops());
|
||||||
C->env()->notice_inlined_method(call_method);
|
C->env()->notice_inlined_method(call_method);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue