mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-03 06:35:31 +00:00
Change number
This commit is contained in:
parent
cc278dbb8a
commit
4a45eae03f
@ -2740,7 +2740,7 @@ bool LibraryCallKit::inline_unsafe_flat_access(bool is_store, AccessKind kind) {
|
||||
if (layout == LayoutKind::REFERENCE) {
|
||||
if (!base_type->is_aryptr()->is_not_flat()) {
|
||||
const TypeAryPtr* array_type = base_type->is_aryptr()->cast_to_not_flat();
|
||||
// TODO 8350865 This should be a CheckCastPP, can we add a test?
|
||||
// TODO 8388444 This should be a CheckCastPP, can we add a test?
|
||||
Node* new_base = _gvn.transform(new CastPPNode(control(), base, array_type, ConstraintCastNode::DependencyType::NonFloatingNarrowing));
|
||||
replace_in_map(base, new_base);
|
||||
base = new_base;
|
||||
@ -2757,7 +2757,7 @@ bool LibraryCallKit::inline_unsafe_flat_access(bool is_store, AccessKind kind) {
|
||||
ptr = basic_plus_adr(base, ConvL2X(offset));
|
||||
const TypeAryPtr* ptr_type = _gvn.type(ptr)->is_aryptr();
|
||||
if (ptr_type->field_offset().get() != 0) {
|
||||
// TODO 8350865 This should be a CheckCastPP, can we add a test?
|
||||
// TODO 8388444 This should be a CheckCastPP, can we add a test?
|
||||
ptr = _gvn.transform(new CastPPNode(control(), ptr, ptr_type->with_field_offset(0), ConstraintCastNode::DependencyType::NonFloatingNarrowing));
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user