8232882: GCC 4.8.5 build failure after JDK-8211073

Reviewed-by: thartmann
This commit is contained in:
Aleksey Shipilev 2019-10-23 17:35:32 +02:00
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.
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?
#ifdef PRODUCT
cross_check = NULL;
#else
#ifdef ASSERT
if (!VerifyAliases || VMError::is_error_reported() || Node::in_dump()) cross_check = NULL;
#endif
const TypePtr* tp = t->isa_ptr();