|
@@ -582,8 +582,6 @@ class Compile : public Phase { |
|
|
private: |
|
|
// Matching, CFG layout, allocation, code generation |
|
|
PhaseCFG* _cfg; // Results of CFG finding |
|
|
bool _select_24_bit_instr; // We selected an instruction with a 24-bit result |
|
|
bool _in_24_bit_fp_mode; // We are emitting instructions with 24-bit results |
|
|
int _java_calls; // Number of java calls in the method |
|
|
int _inner_loops; // Number of inner loops in the method |
|
|
Matcher* _matcher; // Engine to map ideal to machine instructions |
|
@@ -1122,8 +1120,6 @@ class Compile : public Phase { |
|
|
|
|
|
// Matching, CFG layout, allocation, code generation |
|
|
PhaseCFG* cfg() { return _cfg; } |
|
|
bool select_24_bit_instr() const { return _select_24_bit_instr; } |
|
|
bool in_24_bit_fp_mode() const { return _in_24_bit_fp_mode; } |
|
|
bool has_java_calls() const { return _java_calls > 0; } |
|
|
int java_calls() const { return _java_calls; } |
|
|
int inner_loops() const { return _inner_loops; } |
|
@@ -1155,12 +1151,6 @@ class Compile : public Phase { |
|
|
void set_indexSet_arena(Arena* a) { _indexSet_arena = a; } |
|
|
void set_indexSet_free_block_list(void* p) { _indexSet_free_block_list = p; } |
|
|
|
|
|
// Remember if this compilation changes hardware mode to 24-bit precision |
|
|
void set_24_bit_selection_and_mode(bool selection, bool mode) { |
|
|
_select_24_bit_instr = selection; |
|
|
_in_24_bit_fp_mode = mode; |
|
|
} |
|
|
|
|
|
void set_java_calls(int z) { _java_calls = z; } |
|
|
void set_inner_loops(int z) { _inner_loops = z; } |
|
|
|
|
@@ -1413,6 +1403,22 @@ class Compile : public Phase { |
|
|
bool needs_clinit_barrier(ciField* ik, ciMethod* accessing_method); |
|
|
bool needs_clinit_barrier(ciMethod* ik, ciMethod* accessing_method); |
|
|
bool needs_clinit_barrier(ciInstanceKlass* ik, ciMethod* accessing_method); |
|
|
|
|
|
#ifdef IA32 |
|
|
private: |
|
|
bool _select_24_bit_instr; // We selected an instruction with a 24-bit result |
|
|
bool _in_24_bit_fp_mode; // We are emitting instructions with 24-bit results |
|
|
|
|
|
// Remember if this compilation changes hardware mode to 24-bit precision. |
|
|
void set_24_bit_selection_and_mode(bool selection, bool mode) { |
|
|
_select_24_bit_instr = selection; |
|
|
_in_24_bit_fp_mode = mode; |
|
|
} |
|
|
|
|
|
public: |
|
|
bool select_24_bit_instr() const { return _select_24_bit_instr; } |
|
|
bool in_24_bit_fp_mode() const { return _in_24_bit_fp_mode; } |
|
|
#endif // IA32 |
|
|
}; |
|
|
|
|
|
#endif // SHARE_OPTO_COMPILE_HPP |