equal
deleted
inserted
replaced
95 // (Return -1 if unknown.) |
95 // (Return -1 if unknown.) |
96 virtual int store_Opcode() const { return -1; } |
96 virtual int store_Opcode() const { return -1; } |
97 |
97 |
98 // What is the type of the value in memory? (T_VOID mean "unspecified".) |
98 // What is the type of the value in memory? (T_VOID mean "unspecified".) |
99 virtual BasicType memory_type() const = 0; |
99 virtual BasicType memory_type() const = 0; |
100 virtual int memory_size() const { return type2aelembytes[memory_type()]; } |
100 virtual int memory_size() const { |
|
101 #ifdef ASSERT |
|
102 return type2aelembytes(memory_type(), true); |
|
103 #else |
|
104 return type2aelembytes(memory_type()); |
|
105 #endif |
|
106 } |
101 |
107 |
102 // Search through memory states which precede this node (load or store). |
108 // Search through memory states which precede this node (load or store). |
103 // Look for an exact match for the address, with no intervening |
109 // Look for an exact match for the address, with no intervening |
104 // aliased stores. |
110 // aliased stores. |
105 Node* find_previous_store(PhaseTransform* phase); |
111 Node* find_previous_store(PhaseTransform* phase); |