changeset 45244 | 24df46d012d5 |
parent 45241 | dec8c0efd17b |
child 45427 | 64e07017ce01 |
--- a/hotspot/src/share/vm/opto/memnode.cpp Mon May 22 09:18:12 2017 +0200 +++ b/hotspot/src/share/vm/opto/memnode.cpp Mon May 22 09:23:59 2017 +0200 @@ -1123,6 +1123,9 @@ // Use _idx of address base (could be Phi node) for boxed values. intptr_t ignore = 0; Node* base = AddPNode::Ideal_base_and_offset(in(Address), phase, ignore); + if (base == NULL) { + return this; + } this_iid = base->_idx; } const Type* this_type = bottom_type();