mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8247697: Remove delayed_forbidden dead code in C2
The delayed_forbidden parameter to Compile::call_generator is never used. Reviewed-by: kvn, vlivanov, thartmann
This commit is contained in:
parent
a16994ff7b
commit
651c20d4ef
4 changed files with 7 additions and 10 deletions
|
@ -864,7 +864,7 @@ class Compile : public Phase {
|
|||
// The profile factor is a discount to apply to this site's interp. profile.
|
||||
CallGenerator* call_generator(ciMethod* call_method, int vtable_index, bool call_does_dispatch,
|
||||
JVMState* jvms, bool allow_inline, float profile_factor, ciKlass* speculative_receiver_type = NULL,
|
||||
bool allow_intrinsics = true, bool delayed_forbidden = false);
|
||||
bool allow_intrinsics = true);
|
||||
bool should_delay_inlining(ciMethod* call_method, JVMState* jvms) {
|
||||
return should_delay_string_inlining(call_method, jvms) ||
|
||||
should_delay_boxing_inlining(call_method, jvms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue