8379502: Remove unused PhaseOutput::need_register_stack_bang()

Reviewed-by: chagedorn
This commit is contained in:
Kuai Wei 2026-03-12 09:31:08 +00:00 committed by Denghui Dong
parent c6afd3ced6
commit bd2972d2b0
2 changed files with 0 additions and 10 deletions

View File

@ -363,15 +363,6 @@ bool PhaseOutput::need_stack_bang(int frame_size_in_bytes) const {
DEBUG_ONLY(|| true)));
}
bool PhaseOutput::need_register_stack_bang() const {
// Determine if we need to generate a register stack overflow check.
// This is only used on architectures which have split register
// and memory stacks.
// Bang if the method is not a stub function and has java calls
return (C->stub_function() == nullptr && C->has_java_calls());
}
// Compute the size of first NumberOfLoopInstrToAlign instructions at the top
// of a loop. When aligning a loop we need to provide enough instructions
// in cpu's fetch buffer to feed decoders. The loop alignment could be

View File

@ -109,7 +109,6 @@ public:
// Convert Nodes to instruction bits and pass off to the VM
void Output();
bool need_stack_bang(int frame_size_in_bytes) const;
bool need_register_stack_bang() const;
void compute_loop_first_inst_sizes();
void install_code(ciMethod* target,