[llvm-commits] CVS: llvm-gcc/gcc/langhooks.c langhooks.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 14 13:24:23 PST 2005
Changes in directory llvm-gcc/gcc:
langhooks.c updated: 1.3 -> 1.4
langhooks.h updated: 1.3 -> 1.4
---
Log message:
staticp returns a tree now
---
Diffs of the changes: (+3 -3)
langhooks.c | 4 ++--
langhooks.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm-gcc/gcc/langhooks.c
diff -u llvm-gcc/gcc/langhooks.c:1.3 llvm-gcc/gcc/langhooks.c:1.4
--- llvm-gcc/gcc/langhooks.c:1.3 Thu Feb 5 10:05:45 2004
+++ llvm-gcc/gcc/langhooks.c Mon Feb 14 15:24:10 2005
@@ -132,10 +132,10 @@
/* Called from staticp. */
-int
+tree
lhd_staticp (tree exp ATTRIBUTE_UNUSED)
{
- return 0;
+ return NULL;
}
/* Called from check_global_declarations. */
Index: llvm-gcc/gcc/langhooks.h
diff -u llvm-gcc/gcc/langhooks.h:1.3 llvm-gcc/gcc/langhooks.h:1.4
--- llvm-gcc/gcc/langhooks.h:1.3 Thu Feb 5 10:05:45 2004
+++ llvm-gcc/gcc/langhooks.h Mon Feb 14 15:24:10 2005
@@ -359,7 +359,7 @@
bool (*mark_addressable) (tree);
/* Hook called by staticp for language-specific tree codes. */
- int (*staticp) (tree);
+ tree (*staticp) (tree);
/* Replace the DECL_LANG_SPECIFIC data, which may be NULL, of the
DECL_NODE with a newly GC-allocated copy. */
More information about the llvm-commits
mailing list