824 // %%% Kludgery. Instead, fix ideal adr_type methods for all these cases: |
824 // %%% Kludgery. Instead, fix ideal adr_type methods for all these cases: |
825 if (nidx == Compile::AliasIdxTop && midx == Compile::AliasIdxRaw) { |
825 if (nidx == Compile::AliasIdxTop && midx == Compile::AliasIdxRaw) { |
826 switch (n->Opcode()) { |
826 switch (n->Opcode()) { |
827 case Op_PrefetchRead: |
827 case Op_PrefetchRead: |
828 case Op_PrefetchWrite: |
828 case Op_PrefetchWrite: |
|
829 case Op_PrefetchAllocation: |
829 nidx = Compile::AliasIdxRaw; |
830 nidx = Compile::AliasIdxRaw; |
830 nat = TypeRawPtr::BOTTOM; |
831 nat = TypeRawPtr::BOTTOM; |
831 break; |
832 break; |
832 } |
833 } |
833 } |
834 } |