This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Write name of address of MEM



kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

[...]

| + static tree
| + get_decl_from_op (op, paddressp)
| +      rtx op;
| +      int *paddressp;
| + {
| +   tree decl;
| +   int inner_addressp;
| + 
| +   *paddressp = 0;
| + 
| +   if (GET_CODE (op) == REG)
| +     return REGNO_DECL (ORIGINAL_REGNO (op));
| +   else if (GET_CODE (op) != MEM)
| +     return 0;

Just a minor question about style:  Is it preferred to use 0 in lieu
of NULL or NULL_TREE ?

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]