comparison src/share/vm/adlc/formssel.cpp @ 8117:706c919d3b56

8007722: C2: "assert(tp->base() != Type::AnyPtr) failed: not a bare pointer" at machnode.cpp:376 Summary: GetAndSetP's MachNode should capture bottom type. Reviewed-by: kvn
author roland
date Tue, 26 Feb 2013 12:18:30 +0100
parents b30b3c2a0cf2
children f15fe46d8c00
comparison
equal deleted inserted replaced
8116:6931f425c517 8117:706c919d3b56
751 !strcmp(_matrule->_rChild->_opType,"DecodeN") || 751 !strcmp(_matrule->_rChild->_opType,"DecodeN") ||
752 !strcmp(_matrule->_rChild->_opType,"EncodeP") || 752 !strcmp(_matrule->_rChild->_opType,"EncodeP") ||
753 !strcmp(_matrule->_rChild->_opType,"DecodeNKlass") || 753 !strcmp(_matrule->_rChild->_opType,"DecodeNKlass") ||
754 !strcmp(_matrule->_rChild->_opType,"EncodePKlass") || 754 !strcmp(_matrule->_rChild->_opType,"EncodePKlass") ||
755 !strcmp(_matrule->_rChild->_opType,"LoadN") || 755 !strcmp(_matrule->_rChild->_opType,"LoadN") ||
756 !strcmp(_matrule->_rChild->_opType,"GetAndSetN") ||
757 !strcmp(_matrule->_rChild->_opType,"LoadNKlass") || 756 !strcmp(_matrule->_rChild->_opType,"LoadNKlass") ||
758 !strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception 757 !strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception
759 !strcmp(_matrule->_rChild->_opType,"CheckCastPP")) ) return true; 758 !strcmp(_matrule->_rChild->_opType,"CheckCastPP") ||
759 !strcmp(_matrule->_rChild->_opType,"GetAndSetP") ||
760 !strcmp(_matrule->_rChild->_opType,"GetAndSetN")) ) return true;
760 else if ( is_ideal_load() == Form::idealP ) return true; 761 else if ( is_ideal_load() == Form::idealP ) return true;
761 else if ( is_ideal_store() != Form::none ) return true; 762 else if ( is_ideal_store() != Form::none ) return true;
762 763
763 if (needs_base_oop_edge(globals)) return true; 764 if (needs_base_oop_edge(globals)) return true;
764 765