src/share/vm/opto/matcher.cpp

changeset 1286
fc4be448891f
parent 1258
14367225a853
child 1421
62001a362ce9
equal deleted inserted replaced
1285:fd50a67f97d1 1286:fc4be448891f
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 {

mercurial