Commit 6aab184c by Aldy Hernandez Committed by Aldy Hernandez

* tree-flow-inline.h (get_filename): Remove.

From-SVN: r127339
parent 5955b0a3
2007-08-10 Aldy Hernandez <aldyh@redhat.com>
* tree-flow-inline.h (get_filename): Remove.
2007-08-10 Richard Sandiford <richard@codesourcery.com>
* config/mips/mips-protos.h (mips_address_insns): Add a boolean
......
......@@ -327,24 +327,6 @@ get_lineno (tree expr)
return EXPR_LINENO (expr);
}
/* Return the file name for EXPR, or return "???" if we have no
filename information. */
static inline const char *
get_filename (tree expr)
{
const char *filename;
if (expr == NULL_TREE)
return "???";
if (TREE_CODE (expr) == COMPOUND_EXPR)
expr = TREE_OPERAND (expr, 0);
if (EXPR_HAS_LOCATION (expr) && (filename = EXPR_FILENAME (expr)))
return filename;
else
return "???";
}
/* Return true if T is a noreturn call. */
static inline bool
noreturn_call_p (tree t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment