hotspot/src/share/vm/opto/graphKit.cpp
changeset 1399 9648dfd4ce09
parent 1398 342890a5d031
child 1404 4a969f79e3e6
--- a/hotspot/src/share/vm/opto/graphKit.cpp	Wed Sep 17 08:29:17 2008 -0700
+++ b/hotspot/src/share/vm/opto/graphKit.cpp	Wed Sep 17 12:59:52 2008 -0700
@@ -587,7 +587,7 @@
 #ifdef ASSERT
   _bci    = kit->bci();
   Parse* parser = kit->is_Parse();
-  int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->pre_order();
+  int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->rpo();
   _block  = block;
 #endif
 }
@@ -596,7 +596,7 @@
 #ifdef ASSERT
   assert(kit->bci() == _bci, "bci must not shift");
   Parse* parser = kit->is_Parse();
-  int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->pre_order();
+  int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->rpo();
   assert(block == _block,    "block must not shift");
 #endif
   kit->set_map(_map);