equal
deleted
inserted
replaced
2533 BoolNode* bol = cmp->unique_out()->as_Bool(); |
2533 BoolNode* bol = cmp->unique_out()->as_Bool(); |
2534 assert((bol->outcnt() == 1) && bol->unique_out()->is_If() && |
2534 assert((bol->outcnt() == 1) && bol->unique_out()->is_If() && |
2535 (bol->_test._test == BoolTest::ne), ""); |
2535 (bol->_test._test == BoolTest::ne), ""); |
2536 IfNode* ifn = bol->unique_out()->as_If(); |
2536 IfNode* ifn = bol->unique_out()->as_If(); |
2537 assert((ifn->outcnt() == 2) && |
2537 assert((ifn->outcnt() == 2) && |
2538 ifn->proj_out(1)->is_uncommon_trap_proj(Deoptimization::Reason_rtm_state_change), ""); |
2538 ifn->proj_out(1)->is_uncommon_trap_proj(Deoptimization::Reason_rtm_state_change) != NULL, ""); |
2539 #endif |
2539 #endif |
2540 Node* repl = n->in(1); |
2540 Node* repl = n->in(1); |
2541 if (!_has_locks) { |
2541 if (!_has_locks) { |
2542 // Remove RTM state check if there are no locks in the code. |
2542 // Remove RTM state check if there are no locks in the code. |
2543 // Replace input to compare the same value. |
2543 // Replace input to compare the same value. |