8310735: Build failure after JDK-8310577 with GCC8
Reviewed-by: lucy
This commit is contained in:
parent
4bf78162c5
commit
e78fd46679
@ -281,7 +281,7 @@ class ShortLoopOptimizer : public ValueNumberingVisitor {
|
||||
}
|
||||
void kill_array(ValueType* type) {
|
||||
current_map()->kill_array(type);
|
||||
BasicType basic_type = as_BasicType(type); assert(basic_type >= 0 && basic_type < T_VOID, "Invalid type");
|
||||
BasicType basic_type = as_BasicType(type); assert(basic_type < T_VOID, "Invalid type");
|
||||
_has_indexed_store[basic_type] = true;
|
||||
}
|
||||
|
||||
@ -298,12 +298,12 @@ class ShortLoopOptimizer : public ValueNumberingVisitor {
|
||||
}
|
||||
|
||||
bool has_field_store(BasicType type) {
|
||||
assert(type >= 0 && type < T_VOID, "Invalid type");
|
||||
assert(type < T_VOID, "Invalid type");
|
||||
return _has_field_store[type];
|
||||
}
|
||||
|
||||
bool has_indexed_store(BasicType type) {
|
||||
assert(type >= 0 && type < T_VOID, "Invalid type");
|
||||
assert(type < T_VOID, "Invalid type");
|
||||
return _has_indexed_store[type];
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@ class arrayOopDesc : public oopDesc {
|
||||
// overflow. We also need to make sure that this will not overflow a size_t on
|
||||
// 32 bit platforms when we convert it to a byte size.
|
||||
static int32_t max_array_length(BasicType type) {
|
||||
assert(type >= 0 && type < T_CONFLICT, "wrong type");
|
||||
assert(type < T_CONFLICT, "wrong type");
|
||||
assert(type2aelembytes(type) != 0, "wrong type");
|
||||
|
||||
const size_t max_element_words_per_size_t =
|
||||
|
Loading…
Reference in New Issue
Block a user