Mercurial > hg > truffle
comparison src/share/vm/ci/ciTypeFlow.cpp @ 8721:47bc9800972c
8006498: #if <symbol> is wrong in the code.
Summary: ASSERT and other symbols used incorrectly with #if are supposed to be defined or not.
Reviewed-by: dholmes, mikael
author | jprovino |
---|---|
date | Wed, 06 Mar 2013 13:46:55 -0500 |
parents | f13867c41f73 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
8720:fad90b102190 | 8721:47bc9800972c |
---|---|
2538 assert(blk->successors()->length() == 0, "CFG exit"); | 2538 assert(blk->successors()->length() == 0, "CFG exit"); |
2539 blk->set_loop(loop_tree_root()); | 2539 blk->set_loop(loop_tree_root()); |
2540 } else if (innermost->head() == blk) { | 2540 } else if (innermost->head() == blk) { |
2541 // If loop header, complete the tree pointers | 2541 // If loop header, complete the tree pointers |
2542 if (blk->loop() != innermost) { | 2542 if (blk->loop() != innermost) { |
2543 #if ASSERT | 2543 #ifdef ASSERT |
2544 assert(blk->loop()->head() == innermost->head(), "same head"); | 2544 assert(blk->loop()->head() == innermost->head(), "same head"); |
2545 Loop* dl; | 2545 Loop* dl; |
2546 for (dl = innermost; dl != NULL && dl != blk->loop(); dl = dl->parent()); | 2546 for (dl = innermost; dl != NULL && dl != blk->loop(); dl = dl->parent()); |
2547 assert(dl == blk->loop(), "blk->loop() already in innermost list"); | 2547 assert(dl == blk->loop(), "blk->loop() already in innermost list"); |
2548 #endif | 2548 #endif |