Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/split_if.cpp @ 23822:626f594dffa6
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux.
Reviewed-by: stuefe, coleenp, roland
author | csahu |
---|---|
date | Tue, 01 Mar 2016 12:50:37 +0530 |
parents | c9035b8e388b |
children |
comparison
equal
deleted
inserted
replaced
23821:2f8db587e1fc | 23822:626f594dffa6 |
---|---|
449 // Split the IF. | 449 // Split the IF. |
450 Node *new_iff = split_thru_region( iff, region ); | 450 Node *new_iff = split_thru_region( iff, region ); |
451 | 451 |
452 // Replace both uses of 'new_iff' with Regions merging True/False | 452 // Replace both uses of 'new_iff' with Regions merging True/False |
453 // paths. This makes 'new_iff' go dead. | 453 // paths. This makes 'new_iff' go dead. |
454 Node *old_false, *old_true; | 454 Node *old_false = NULL, *old_true = NULL; |
455 Node *new_false, *new_true; | 455 Node *new_false = NULL, *new_true = NULL; |
456 for (DUIterator_Last j2min, j2 = iff->last_outs(j2min); j2 >= j2min; --j2) { | 456 for (DUIterator_Last j2min, j2 = iff->last_outs(j2min); j2 >= j2min; --j2) { |
457 Node *ifp = iff->last_out(j2); | 457 Node *ifp = iff->last_out(j2); |
458 assert( ifp->Opcode() == Op_IfFalse || ifp->Opcode() == Op_IfTrue, "" ); | 458 assert( ifp->Opcode() == Op_IfFalse || ifp->Opcode() == Op_IfTrue, "" ); |
459 ifp->set_req(0, new_iff); | 459 ifp->set_req(0, new_iff); |
460 Node *ifpx = split_thru_region( ifp, region ); | 460 Node *ifpx = split_thru_region( ifp, region ); |