equal
deleted
inserted
replaced
1487 if( mem != (Node*)1 ) { |
1487 if( mem != (Node*)1 ) { |
1488 mach->ins_req(MemNode::Memory,mem); |
1488 mach->ins_req(MemNode::Memory,mem); |
1489 #ifdef ASSERT |
1489 #ifdef ASSERT |
1490 // Verify adr type after matching memory operation |
1490 // Verify adr type after matching memory operation |
1491 const MachOper* oper = mach->memory_operand(); |
1491 const MachOper* oper = mach->memory_operand(); |
1492 if (oper != NULL && oper != (MachOper*)-1 && |
1492 if (oper != NULL && oper != (MachOper*)-1) { |
1493 mach->adr_type() != TypeRawPtr::BOTTOM) { // non-direct addressing mode |
|
1494 // It has a unique memory operand. Find corresponding ideal mem node. |
1493 // It has a unique memory operand. Find corresponding ideal mem node. |
1495 Node* m = NULL; |
1494 Node* m = NULL; |
1496 if (leaf->is_Mem()) { |
1495 if (leaf->is_Mem()) { |
1497 m = leaf; |
1496 m = leaf; |
1498 } else { |
1497 } else { |