Skip to content

Commit

Permalink
Fix rebase failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chhagedorn committed Nov 23, 2023
1 parent 9bfb9d2 commit 7a3d8cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/opto/predicates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ bool RuntimePredicate::is_success_proj(Node* maybe_success_proj) {

bool RuntimePredicate::may_be_runtime_predicate_if(Node* node) {
if (node->is_IfProj()) {
const IfNode* if_node = node->in(0)->as_If();
const Node* if_node = node->in(0);
const int opcode_if = if_node->Opcode();
if ((opcode_if == Op_If && !if_node->is_zero_trip_guard())
if ((opcode_if == Op_If && !if_node->as_If()->is_zero_trip_guard())
|| opcode_if == Op_RangeCheck) {
return true;
}
Expand Down

0 comments on commit 7a3d8cf

Please sign in to comment.