comparison src/share/vm/opto/escape.cpp @ 10391:83dcb116fdb1

8015441: runThese crashed with assert(opcode == Op_ConP || opcode == Op_ThreadLocal || opcode == Op_CastX2P ..) failed: sanity Summary: Relax the assert to accept any raw ptr types. Reviewed-by: roland
author kvn
date Fri, 31 May 2013 13:54:47 -0700
parents 1da5d70655e9
children f2110083203d
comparison
equal deleted inserted replaced
10390:28e5aed7f3a6 10391:83dcb116fdb1
2200 } 2200 }
2201 Node* uncast_base = base->uncast(); 2201 Node* uncast_base = base->uncast();
2202 int opcode = uncast_base->Opcode(); 2202 int opcode = uncast_base->Opcode();
2203 assert(opcode == Op_ConP || opcode == Op_ThreadLocal || 2203 assert(opcode == Op_ConP || opcode == Op_ThreadLocal ||
2204 opcode == Op_CastX2P || uncast_base->is_DecodeNarrowPtr() || 2204 opcode == Op_CastX2P || uncast_base->is_DecodeNarrowPtr() ||
2205 (uncast_base->is_Mem() && uncast_base->bottom_type() == TypeRawPtr::NOTNULL) || 2205 (uncast_base->is_Mem() && (uncast_base->bottom_type()->isa_rawptr() != NULL)) ||
2206 (uncast_base->is_Proj() && uncast_base->in(0)->is_Allocate()), "sanity"); 2206 (uncast_base->is_Proj() && uncast_base->in(0)->is_Allocate()), "sanity");
2207 } 2207 }
2208 return base; 2208 return base;
2209 } 2209 }
2210 2210