comparison src/cpu/sparc/vm/sparc.ad @ 4121:db2e64ca2d5a

7090968: Allow adlc register class to depend on runtime conditions Summary: allow reg_class definition as a function. Reviewed-by: kvn, never
author roland
date Tue, 22 Nov 2011 09:45:57 +0100
parents 6729bbc1fcd6
children 1dc233a8c7fe
comparison
equal deleted inserted replaced
4120:f03a3c8bd5e5 4121:db2e64ca2d5a
1017 void emit_lo(CodeBuffer &cbuf, int val) { } 1017 void emit_lo(CodeBuffer &cbuf, int val) { }
1018 void emit_hi(CodeBuffer &cbuf, int val) { } 1018 void emit_hi(CodeBuffer &cbuf, int val) { }
1019 1019
1020 1020
1021 //============================================================================= 1021 //=============================================================================
1022 const RegMask& MachConstantBaseNode::_out_RegMask = PTR_REG_mask; 1022 const RegMask& MachConstantBaseNode::_out_RegMask = PTR_REG_mask();
1023 1023
1024 int Compile::ConstantTable::calculate_table_base_offset() const { 1024 int Compile::ConstantTable::calculate_table_base_offset() const {
1025 if (UseRDPCForConstantTableBase) { 1025 if (UseRDPCForConstantTableBase) {
1026 // The table base offset might be less but then it fits into 1026 // The table base offset might be less but then it fits into
1027 // simm13 anyway and we are good (cf. MachConstantBaseNode::emit). 1027 // simm13 anyway and we are good (cf. MachConstantBaseNode::emit).
2022 ShouldNotReachHere(); 2022 ShouldNotReachHere();
2023 return RegMask(); 2023 return RegMask();
2024 } 2024 }
2025 2025
2026 const RegMask Matcher::method_handle_invoke_SP_save_mask() { 2026 const RegMask Matcher::method_handle_invoke_SP_save_mask() {
2027 return L7_REGP_mask; 2027 return L7_REGP_mask();
2028 } 2028 }
2029 2029
2030 %} 2030 %}
2031 2031
2032 2032