OSDN Git Service

2004-08-19 Daniel Berlin <dberlin@dberlin.org>
[pf3gnuchains/gcc-fork.git] / gcc / rtlhooks.c
index a32d1c0..5cb14ef 100644 (file)
@@ -51,7 +51,7 @@ gen_lowpart_general (enum machine_mode mode, rtx x)
        abort ();
       return result;
     }
-  else if (GET_CODE (x) == MEM)
+  else if (MEM_P (x))
     {
       /* The only additional case we can do is MEM.  */
       int offset = 0;
@@ -76,8 +76,6 @@ gen_lowpart_general (enum machine_mode mode, rtx x)
 
       return adjust_address (x, mode, offset);
     }
-  else if (GET_CODE (x) == ADDRESSOF)
-    return gen_lowpart_general (mode, force_reg (GET_MODE (x), x));
   else
     abort ();
 }