Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/adlc/formssel.cpp Fri Jun 20 10:17:09 2008 -0700 +++ b/src/share/vm/adlc/formssel.cpp Fri Jun 20 11:10:05 2008 -0700 @@ -729,6 +729,7 @@ !strcmp(_matrule->_rChild->_opType,"DecodeN") || !strcmp(_matrule->_rChild->_opType,"EncodeP") || !strcmp(_matrule->_rChild->_opType,"LoadN") || + !strcmp(_matrule->_rChild->_opType,"LoadNKlass") || !strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception !strcmp(_matrule->_rChild->_opType,"CheckCastPP")) ) return true; else if ( is_ideal_load() == Form::idealP ) return true;