8319957: PhaseOutput::code_size is unused and should be removed
Reviewed-by: thartmann, chagedorn
This commit is contained in:
parent
95d2f8072e
commit
524aaad983
src/hotspot/share/opto
@ -1280,7 +1280,6 @@ void PhaseOutput::estimate_buffer_size(int& const_req) {
|
||||
}
|
||||
|
||||
// Compute prolog code size
|
||||
_method_size = 0;
|
||||
_frame_slots = OptoReg::reg2stack(C->matcher()->_old_SP) + C->regalloc()->_framesize;
|
||||
assert(_frame_slots >= 0 && _frame_slots < 1000000, "sanity check");
|
||||
|
||||
|
@ -77,7 +77,6 @@ public:
|
||||
class PhaseOutput : public Phase {
|
||||
private:
|
||||
// Instruction bits passed off to the VM
|
||||
int _method_size; // Size of nmethod code segment in bytes
|
||||
CodeBuffer _code_buffer; // Where the code is assembled
|
||||
int _first_block_size; // Size of unvalidated entry point code / OSR poison code
|
||||
ExceptionHandlerTable _handler_table; // Table of native-code exception handlers
|
||||
@ -166,7 +165,6 @@ public:
|
||||
void install();
|
||||
|
||||
// Instruction bits passed off to the VM
|
||||
int code_size() { return _method_size; }
|
||||
CodeBuffer* code_buffer() { return &_code_buffer; }
|
||||
int first_block_size() { return _first_block_size; }
|
||||
void set_frame_complete(int off) { if (!in_scratch_emit_size()) { _code_offsets.set_value(CodeOffsets::Frame_Complete, off); } }
|
||||
|
Loading…
x
Reference in New Issue
Block a user