< prev index next >

src/share/vm/opto/macro.cpp

Print this page
rev 9388 : [mq]: qfield_refs

*** 288,298 **** if (bol->as_Bool()->_test._test == BoolTest::ne && cmpx->is_Cmp() && cmpx->in(2) == intcon(0) && cmpx->in(1)->is_Load()) { Node* adr = cmpx->in(1)->as_Load()->in(MemNode::Address); const int marking_offset = in_bytes(JavaThread::satb_mark_queue_offset() + ! PtrQueue::byte_offset_of_active()); if (adr->is_AddP() && adr->in(AddPNode::Base) == top() && adr->in(AddPNode::Address)->Opcode() == Op_ThreadLocal && adr->in(AddPNode::Offset) == MakeConX(marking_offset)) { _igvn.replace_node(cmpx, makecon(TypeInt::CC_EQ)); } --- 288,298 ---- if (bol->as_Bool()->_test._test == BoolTest::ne && cmpx->is_Cmp() && cmpx->in(2) == intcon(0) && cmpx->in(1)->is_Load()) { Node* adr = cmpx->in(1)->as_Load()->in(MemNode::Address); const int marking_offset = in_bytes(JavaThread::satb_mark_queue_offset() + ! SATBMarkQueue::byte_offset_of_active()); if (adr->is_AddP() && adr->in(AddPNode::Base) == top() && adr->in(AddPNode::Address)->Opcode() == Op_ThreadLocal && adr->in(AddPNode::Offset) == MakeConX(marking_offset)) { _igvn.replace_node(cmpx, makecon(TypeInt::CC_EQ)); }
< prev index next >