changeset 3244:a534c140904e

Merge
author vladidan
date Thu, 14 Apr 2011 23:06:33 -0400
parents 208b6c560ff4 (diff) 5504afd15955 (current diff)
children 8ce625481709
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Instruction.cpp	Thu Apr 14 11:50:36 2011 -0400
+++ b/src/share/vm/c1/c1_Instruction.cpp	Thu Apr 14 23:06:33 2011 -0400
@@ -596,7 +596,7 @@
 // of the inserted block, without recomputing the values of the other blocks
 // in the CFG. Therefore the value of "depth_first_number" in BlockBegin becomes meaningless.
 BlockBegin* BlockBegin::insert_block_between(BlockBegin* sux) {
-  BlockBegin* new_sux = new BlockBegin(-99);
+  BlockBegin* new_sux = new BlockBegin(end()->state()->bci());
 
   // mark this block (special treatment when block order is computed)
   new_sux->set(critical_edge_split_flag);