Skip to content

Commit

Permalink
8266937: Remove Compile::reshape_address
Browse files Browse the repository at this point in the history
Reviewed-by: kvn
  • Loading branch information
cl4es committed May 11, 2021
1 parent 974b9f7 commit 616244f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions src/hotspot/cpu/aarch64/aarch64.ad
Expand Up @@ -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); \
{ \
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/cpu/arm/arm.ad
Expand Up @@ -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");
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/cpu/ppc/ppc.ad
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/cpu/s390/s390.ad
Expand Up @@ -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-----------------------------------------------------
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/cpu/x86/x86.ad
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/opto/compile.cpp
Expand Up @@ -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;
}

Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/opto/compile.hpp
Expand Up @@ -480,8 +480,6 @@ class Compile : public Phase {

PhaseOutput* _output;

void reshape_address(AddPNode* n);

public:
// Accessors

Expand Down

1 comment on commit 616244f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.