mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 01:43:13 +00:00
8379502: Remove unused PhaseOutput::need_register_stack_bang()
Reviewed-by: chagedorn
This commit is contained in:
parent
c6afd3ced6
commit
bd2972d2b0
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user