src/share/vm/opto/matcher.cpp

changeset 1286
fc4be448891f
parent 1258
14367225a853
child 1421
62001a362ce9
     1.1 --- a/src/share/vm/opto/matcher.cpp	Wed Jul 15 13:37:35 2009 -0700
     1.2 +++ b/src/share/vm/opto/matcher.cpp	Thu Jul 16 14:10:42 2009 -0700
     1.3 @@ -1489,8 +1489,7 @@
     1.4  #ifdef ASSERT
     1.5      // Verify adr type after matching memory operation
     1.6      const MachOper* oper = mach->memory_operand();
     1.7 -    if (oper != NULL && oper != (MachOper*)-1 &&
     1.8 -        mach->adr_type() != TypeRawPtr::BOTTOM) { // non-direct addressing mode
     1.9 +    if (oper != NULL && oper != (MachOper*)-1) {
    1.10        // It has a unique memory operand.  Find corresponding ideal mem node.
    1.11        Node* m = NULL;
    1.12        if (leaf->is_Mem()) {

mercurial