author | thartmann |
Tue, 26 Jan 2016 11:53:47 +0000 | |
changeset 35603 | 152856fa06e1 |
parent 35601 | 42c6406c3146 (current diff) |
parent 35602 | 1513b6586d6d (diff) |
child 35604 | 7b6aa6e00062 |
--- a/hotspot/src/share/vm/ci/ciTypeFlow.cpp Tue Jan 26 10:41:05 2016 +0100 +++ b/hotspot/src/share/vm/ci/ciTypeFlow.cpp Tue Jan 26 11:53:47 2016 +0000 @@ -2930,7 +2930,7 @@ } // Dominated[i] is true if block i is dominated by dom_block - int num_blocks = _methodBlocks->num_blocks(); + int num_blocks = block_count(); bool* dominated = NEW_RESOURCE_ARRAY(bool, num_blocks); for (int i = 0; i < num_blocks; ++i) { dominated[i] = true;