comparison src/share/vm/opto/memnode.cpp @ 544:82a980778b92

6793828: G1: invariant: queues are empty when activated Reviewed-by: jrose, kvn
author never
date Thu, 05 Feb 2009 11:42:10 -0800
parents a1980da045cc
children dca06e7f503d
comparison
equal deleted inserted replaced
543:a268411445d9 544:82a980778b92
1301 if (in(MemNode::Control) != NULL) { 1301 if (in(MemNode::Control) != NULL) {
1302 intptr_t ignore = 0; 1302 intptr_t ignore = 0;
1303 Node* base = AddPNode::Ideal_base_and_offset(address, phase, ignore); 1303 Node* base = AddPNode::Ideal_base_and_offset(address, phase, ignore);
1304 if (base != NULL 1304 if (base != NULL
1305 && phase->type(base)->higher_equal(TypePtr::NOTNULL) 1305 && phase->type(base)->higher_equal(TypePtr::NOTNULL)
1306 && phase->C->get_alias_index(phase->type(address)->is_ptr()) != Compile::AliasIdxRaw
1306 && all_controls_dominate(base, phase->C->start())) { 1307 && all_controls_dominate(base, phase->C->start())) {
1307 // A method-invariant, non-null address (constant or 'this' argument). 1308 // A method-invariant, non-null address (constant or 'this' argument).
1308 set_req(MemNode::Control, NULL); 1309 set_req(MemNode::Control, NULL);
1309 } 1310 }
1310 } 1311 }