Skip to content
Permalink
Browse files
8266937: Remove Compile::reshape_address
Reviewed-by: kvn
  • Loading branch information
cl4es committed May 11, 2021
1 parent 974b9f7 commit 616244f43aa68543e20f1eefedd67ca8c81669e1
@@ -2753,10 +2753,6 @@ bool Matcher::pd_clone_address_expressions(AddPNode* m, Matcher::MStack& mstack,
return false;
}

void Compile::reshape_address(AddPNode* addp) {
}


#define MOV_VOLATILE(REG, BASE, INDEX, SCALE, DISP, SCRATCH, INSN) \
C2_MacroAssembler _masm(&cbuf); \
{ \
@@ -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);
}

void Compile::reshape_address(AddPNode* addp) {
}

bool Matcher::narrow_oop_use_complex_address() {
NOT_LP64(ShouldNotCallThis());
assert(UseCompressedOops, "only for compressed oops code");
@@ -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);
}

void Compile::reshape_address(AddPNode* addp) {
}

// Optimize load-acquire.
//
// Check if acquire is unnecessary due to following operation that does
@@ -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);
}

void Compile::reshape_address(AddPNode* addp) {
}

%} // source

//----------ENCODING BLOCK-----------------------------------------------------
@@ -2177,9 +2177,6 @@ bool Matcher::pd_clone_address_expressions(AddPNode* m, Matcher::MStack& mstack,
return false;
}

void Compile::reshape_address(AddPNode* addp) {
}

static inline Assembler::ComparisonPredicate booltest_pred_to_comparison_pred(int bt) {
switch (bt) {
case BoolTest::eq: return Assembler::eq;
@@ -3129,8 +3129,6 @@ void Compile::final_graph_reshaping_main_switch(Node* n, Final_Reshape_Counts& f
}
}
#endif
// platform dependent reshaping of the address expression
reshape_address(n->as_AddP());
break;
}

@@ -480,8 +480,6 @@ class Compile : public Phase {

PhaseOutput* _output;

void reshape_address(AddPNode* n);

public:
// Accessors

1 comment on commit 616244f

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 616244f May 11, 2021

Please sign in to comment.