hotspot/src/share/vm/opto/graphKit.cpp
changeset 1399 9648dfd4ce09
parent 1398 342890a5d031
child 1404 4a969f79e3e6
equal deleted inserted replaced
1398:342890a5d031 1399:9648dfd4ce09
   585   _sp     = kit->sp();
   585   _sp     = kit->sp();
   586   kit->set_map(clone_map ? kit->clone_map() : NULL);
   586   kit->set_map(clone_map ? kit->clone_map() : NULL);
   587 #ifdef ASSERT
   587 #ifdef ASSERT
   588   _bci    = kit->bci();
   588   _bci    = kit->bci();
   589   Parse* parser = kit->is_Parse();
   589   Parse* parser = kit->is_Parse();
   590   int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->pre_order();
   590   int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->rpo();
   591   _block  = block;
   591   _block  = block;
   592 #endif
   592 #endif
   593 }
   593 }
   594 PreserveJVMState::~PreserveJVMState() {
   594 PreserveJVMState::~PreserveJVMState() {
   595   GraphKit* kit = _kit;
   595   GraphKit* kit = _kit;
   596 #ifdef ASSERT
   596 #ifdef ASSERT
   597   assert(kit->bci() == _bci, "bci must not shift");
   597   assert(kit->bci() == _bci, "bci must not shift");
   598   Parse* parser = kit->is_Parse();
   598   Parse* parser = kit->is_Parse();
   599   int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->pre_order();
   599   int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->rpo();
   600   assert(block == _block,    "block must not shift");
   600   assert(block == _block,    "block must not shift");
   601 #endif
   601 #endif
   602   kit->set_map(_map);
   602   kit->set_map(_map);
   603   kit->set_sp(_sp);
   603   kit->set_sp(_sp);
   604 }
   604 }