changeset 3243:208b6c560ff4

Merge
author vladidan
date Thu, 14 Apr 2011 11:02:05 -0400
parents c737922fd8bb (diff) 3449f5e02cc4 (current diff)
children a534c140904e 7ec4bb02d5f0
files src/share/vm/c1/c1_Instruction.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Instruction.cpp	Tue Apr 12 14:18:53 2011 -0700
+++ b/src/share/vm/c1/c1_Instruction.cpp	Thu Apr 14 11:02:05 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);