Mercurial > hg > graal-jvmci-8
comparison src/share/vm/adlc/formssel.cpp @ 216:8d191a7697e2
6715633: when matching a memory node the adr_type should not change
Summary: verify the adr_type of a mach node was not changed
Reviewed-by: rasbold, never
author | kvn |
---|---|
date | Fri, 20 Jun 2008 11:10:05 -0700 |
parents | c436414a719e |
children | 9c2ecc2ffb12 fab5f738c515 |
comparison
equal
deleted
inserted
replaced
215:273eaa04d9a1 | 216:8d191a7697e2 |
---|---|
727 (!strcmp(_matrule->_rChild->_opType,"CastPP") || // new result type | 727 (!strcmp(_matrule->_rChild->_opType,"CastPP") || // new result type |
728 !strcmp(_matrule->_rChild->_opType,"CastX2P") || // new result type | 728 !strcmp(_matrule->_rChild->_opType,"CastX2P") || // new result type |
729 !strcmp(_matrule->_rChild->_opType,"DecodeN") || | 729 !strcmp(_matrule->_rChild->_opType,"DecodeN") || |
730 !strcmp(_matrule->_rChild->_opType,"EncodeP") || | 730 !strcmp(_matrule->_rChild->_opType,"EncodeP") || |
731 !strcmp(_matrule->_rChild->_opType,"LoadN") || | 731 !strcmp(_matrule->_rChild->_opType,"LoadN") || |
732 !strcmp(_matrule->_rChild->_opType,"LoadNKlass") || | |
732 !strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception | 733 !strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception |
733 !strcmp(_matrule->_rChild->_opType,"CheckCastPP")) ) return true; | 734 !strcmp(_matrule->_rChild->_opType,"CheckCastPP")) ) return true; |
734 else if ( is_ideal_load() == Form::idealP ) return true; | 735 else if ( is_ideal_load() == Form::idealP ) return true; |
735 else if ( is_ideal_store() != Form::none ) return true; | 736 else if ( is_ideal_store() != Form::none ) return true; |
736 | 737 |