Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciTypeFlow.cpp Wed Mar 06 13:38:17 2013 -0500 +++ b/src/share/vm/ci/ciTypeFlow.cpp Wed Mar 06 13:46:55 2013 -0500 @@ -2540,7 +2540,7 @@ } else if (innermost->head() == blk) { // If loop header, complete the tree pointers if (blk->loop() != innermost) { -#if ASSERT +#ifdef ASSERT assert(blk->loop()->head() == innermost->head(), "same head"); Loop* dl; for (dl = innermost; dl != NULL && dl != blk->loop(); dl = dl->parent());