changeset 3242:c737922fd8bb

Merge
author vladidan
date Tue, 12 Apr 2011 10:32:42 -0400
parents 6c9cec219ce4 (diff) 6a615eae2f34 (current diff)
children 208b6c560ff4
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Instruction.cpp	Tue Apr 12 02:53:06 2011 -0400
+++ b/src/share/vm/c1/c1_Instruction.cpp	Tue Apr 12 10:32:42 2011 -0400
@@ -559,7 +559,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);