diff --git a/src/hotspot/share/opto/loopnode.hpp b/src/hotspot/share/opto/loopnode.hpp index 548a21f568a..70c403d30a5 100644 --- a/src/hotspot/share/opto/loopnode.hpp +++ b/src/hotspot/share/opto/loopnode.hpp @@ -1483,7 +1483,7 @@ public: IfNode* insert_cmpi_loop_exit(IfNode* if_cmpu, IdealLoopTree *loop); void remove_cmpi_loop_exit(IfNode* if_cmp, IdealLoopTree *loop); // Utility to register node "n" with PhaseIdealLoop - void register_node(Node* n, IdealLoopTree *loop, Node* pred, int ddepth); + void register_node(Node* n, IdealLoopTree* loop, Node* pred, uint ddepth); // Utility to create an if-projection ProjNode* proj_clone(ProjNode* p, IfNode* iff); // Force the iff control output to be the live_proj diff --git a/src/hotspot/share/opto/loopopts.cpp b/src/hotspot/share/opto/loopopts.cpp index 599d94a9f08..acdaf578a8a 100644 --- a/src/hotspot/share/opto/loopopts.cpp +++ b/src/hotspot/share/opto/loopopts.cpp @@ -2711,7 +2711,7 @@ Node* PhaseIdealLoop::stay_in_loop( Node* n, IdealLoopTree *loop) { //------------------------------ register_node ------------------------------------- // Utility to register node "n" with PhaseIdealLoop -void PhaseIdealLoop::register_node(Node* n, IdealLoopTree *loop, Node* pred, int ddepth) { +void PhaseIdealLoop::register_node(Node* n, IdealLoopTree* loop, Node* pred, uint ddepth) { _igvn.register_new_node_with_optimizer(n); loop->_body.push(n); if (n->is_CFG()) { @@ -2770,7 +2770,7 @@ ProjNode* PhaseIdealLoop::insert_if_before_proj(Node* left, bool Signed, BoolTes IfNode* iff = proj->in(0)->as_If(); IdealLoopTree *loop = get_loop(proj); ProjNode *other_proj = iff->proj_out(!proj->is_IfTrue())->as_Proj(); - int ddepth = dom_depth(proj); + uint ddepth = dom_depth(proj); _igvn.rehash_node_delayed(iff); _igvn.rehash_node_delayed(proj); @@ -2831,7 +2831,7 @@ RegionNode* PhaseIdealLoop::insert_region_before_proj(ProjNode* proj) { IfNode* iff = proj->in(0)->as_If(); IdealLoopTree *loop = get_loop(proj); ProjNode *other_proj = iff->proj_out(!proj->is_IfTrue())->as_Proj(); - int ddepth = dom_depth(proj); + uint ddepth = dom_depth(proj); _igvn.rehash_node_delayed(iff); _igvn.rehash_node_delayed(proj);