comparison src/share/vm/opto/graphKit.cpp @ 367:194b8e3a2fc4

6384206: Phis which are later unneeded are impairing our ability to inline based on static types Reviewed-by: rasbold, jrose
author never
date Wed, 17 Sep 2008 12:59:52 -0700
parents 8261ee795323
children be41fa651400
comparison
equal deleted inserted replaced
366:8261ee795323 367:194b8e3a2fc4
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 }