8266937: Remove Compile::reshape_address

Reviewed-by: kvn
This commit is contained in:
Claes Redestad 2021-05-11 22:45:27 +00:00
parent 974b9f7004
commit 616244f43a
7 changed files with 0 additions and 20 deletions

View File

@ -2753,10 +2753,6 @@ bool Matcher::pd_clone_address_expressions(AddPNode* m, Matcher::MStack& mstack,
return false; return false;
} }
void Compile::reshape_address(AddPNode* addp) {
}
#define MOV_VOLATILE(REG, BASE, INDEX, SCALE, DISP, SCRATCH, INSN) \ #define MOV_VOLATILE(REG, BASE, INDEX, SCALE, DISP, SCRATCH, INSN) \
C2_MacroAssembler _masm(&cbuf); \ C2_MacroAssembler _masm(&cbuf); \
{ \ { \

View File

@ -1123,9 +1123,6 @@ bool Matcher::pd_clone_address_expressions(AddPNode* m, Matcher::MStack& mstack,
return clone_base_plus_offset_address(m, mstack, address_visited); return clone_base_plus_offset_address(m, mstack, address_visited);
} }
void Compile::reshape_address(AddPNode* addp) {
}
bool Matcher::narrow_oop_use_complex_address() { bool Matcher::narrow_oop_use_complex_address() {
NOT_LP64(ShouldNotCallThis()); NOT_LP64(ShouldNotCallThis());
assert(UseCompressedOops, "only for compressed oops code"); assert(UseCompressedOops, "only for compressed oops code");

View File

@ -1005,9 +1005,6 @@ bool Matcher::pd_clone_address_expressions(AddPNode* m, Matcher::MStack& mstack,
return clone_base_plus_offset_address(m, mstack, address_visited); return clone_base_plus_offset_address(m, mstack, address_visited);
} }
void Compile::reshape_address(AddPNode* addp) {
}
// Optimize load-acquire. // Optimize load-acquire.
// //
// Check if acquire is unnecessary due to following operation that does // Check if acquire is unnecessary due to following operation that does

View File

@ -1799,9 +1799,6 @@ bool Matcher::pd_clone_address_expressions(AddPNode* m, Matcher::MStack& mstack,
return clone_base_plus_offset_address(m, mstack, address_visited); return clone_base_plus_offset_address(m, mstack, address_visited);
} }
void Compile::reshape_address(AddPNode* addp) {
}
%} // source %} // source
//----------ENCODING BLOCK----------------------------------------------------- //----------ENCODING BLOCK-----------------------------------------------------

View File

@ -2177,9 +2177,6 @@ bool Matcher::pd_clone_address_expressions(AddPNode* m, Matcher::MStack& mstack,
return false; return false;
} }
void Compile::reshape_address(AddPNode* addp) {
}
static inline Assembler::ComparisonPredicate booltest_pred_to_comparison_pred(int bt) { static inline Assembler::ComparisonPredicate booltest_pred_to_comparison_pred(int bt) {
switch (bt) { switch (bt) {
case BoolTest::eq: return Assembler::eq; case BoolTest::eq: return Assembler::eq;

View File

@ -3129,8 +3129,6 @@ void Compile::final_graph_reshaping_main_switch(Node* n, Final_Reshape_Counts& f
} }
} }
#endif #endif
// platform dependent reshaping of the address expression
reshape_address(n->as_AddP());
break; break;
} }

View File

@ -480,8 +480,6 @@ class Compile : public Phase {
PhaseOutput* _output; PhaseOutput* _output;
void reshape_address(AddPNode* n);
public: public:
// Accessors // Accessors