comparison src/share/vm/opto/doCall.cpp @ 67:16e1cb7cde24

6666343: Compile::has_loops not always set correctly Summary: Compile::has_loops() should be set from inlined methods Reviewed-by: kvn, rasbold
author never
date Tue, 18 Mar 2008 11:17:37 -0700
parents a61af66fc99e
children c436414a719e
comparison
equal deleted inserted replaced
66:6dbf1a175d6b 67:16e1cb7cde24
388 return; 388 return;
389 } 389 }
390 } 390 }
391 391
392 if (cg->is_inline()) { 392 if (cg->is_inline()) {
393 // Accumulate has_loops estimate
394 C->set_has_loops(C->has_loops() || call_method->has_loops());
393 C->env()->notice_inlined_method(call_method); 395 C->env()->notice_inlined_method(call_method);
394 } 396 }
395 397
396 // Reset parser state from [new_]jvms, which now carries results of the call. 398 // Reset parser state from [new_]jvms, which now carries results of the call.
397 // Return value (if any) is already pushed on the stack by the cg. 399 // Return value (if any) is already pushed on the stack by the cg.