8151661: Performance regression on Solaris-SPARC in 9-b103

Reviewed-by: kvn, aph
This commit is contained in:
Rahul Raghavan 2016-06-21 13:14:33 -04:00 committed by Andrew Dinn
parent 152f87ef6c
commit f8e4173a4e

View File

@ -1246,8 +1246,7 @@ bool InstructForm::check_branch_variant(ArchDesc &AD, InstructForm *short_branch
!is_short_branch() && // Don't match another short branch variant
reduce_result() != NULL &&
strcmp(reduce_result(), short_branch->reduce_result()) == 0 &&
_matrule->equivalent(AD.globalNames(), short_branch->_matrule) &&
equivalent_predicates(this, short_branch)) {
_matrule->equivalent(AD.globalNames(), short_branch->_matrule)) {
// The instructions are equivalent.
// Now verify that both instructions have the same parameters and