8232882: GCC 4.8.5 build failure after JDK-8211073
Reviewed-by: thartmann
This commit is contained in:
parent
b3477399d0
commit
bbc4e0d999
@ -736,9 +736,7 @@ Node* MemNode::find_previous_store(PhaseTransform* phase) {
|
|||||||
// Also, asserts a cross-check of the type against the expected address type.
|
// Also, asserts a cross-check of the type against the expected address type.
|
||||||
const TypePtr* MemNode::calculate_adr_type(const Type* t, const TypePtr* cross_check) {
|
const TypePtr* MemNode::calculate_adr_type(const Type* t, const TypePtr* cross_check) {
|
||||||
if (t == Type::TOP) return NULL; // does not touch memory any more?
|
if (t == Type::TOP) return NULL; // does not touch memory any more?
|
||||||
#ifdef PRODUCT
|
#ifdef ASSERT
|
||||||
cross_check = NULL;
|
|
||||||
#else
|
|
||||||
if (!VerifyAliases || VMError::is_error_reported() || Node::in_dump()) cross_check = NULL;
|
if (!VerifyAliases || VMError::is_error_reported() || Node::in_dump()) cross_check = NULL;
|
||||||
#endif
|
#endif
|
||||||
const TypePtr* tp = t->isa_ptr();
|
const TypePtr* tp = t->isa_ptr();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user