aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorRafael Espindola <espindola@gcc.gnu.org>2007-06-11 15:40:55 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2007-06-11 15:40:55 +0000
commit12753674ec3e75275eca8b704c36d6dc3762ade6 (patch)
tree09e966f66888827cc56e0e29aacd33c5d45e7819 /gcc/java
parent73fd4ad6cd12dbb4ba0fbcf4e7fa11d22fd05ea3 (diff)
downloadgcc-12753674ec3e75275eca8b704c36d6dc3762ade6.zip
gcc-12753674ec3e75275eca8b704c36d6dc3762ade6.tar.gz
gcc-12753674ec3e75275eca8b704c36d6dc3762ade6.tar.bz2
really remove signed(_or_unsigned)?_type langhooks
From-SVN: r125621
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/java-tree.h1
-rw-r--r--gcc/java/lang.c2
-rw-r--r--gcc/java/typeck.c8
3 files changed, 0 insertions, 11 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index cf41ef2..10418d3 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -1099,7 +1099,6 @@ extern void java_parse_file (int);
extern bool java_mark_addressable (tree);
extern tree java_type_for_mode (enum machine_mode, int);
extern tree java_type_for_size (unsigned int, int);
-extern tree java_signed_type (tree);
extern tree java_truthvalue_conversion (tree);
extern void add_assume_compiled (const char *, int);
extern void add_enable_assert (const char *, int);
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index 5b0cbe8..7fd6fcd 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -182,8 +182,6 @@ struct language_function GTY(())
#define LANG_HOOKS_TYPE_FOR_MODE java_type_for_mode
#undef LANG_HOOKS_TYPE_FOR_SIZE
#define LANG_HOOKS_TYPE_FOR_SIZE java_type_for_size
-#undef LANG_HOOKS_SIGNED_TYPE
-#define LANG_HOOKS_SIGNED_TYPE java_signed_type
#undef LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN
#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN java_dump_tree
diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c
index 0d70929..4177fd1 100644
--- a/gcc/java/typeck.c
+++ b/gcc/java/typeck.c
@@ -195,14 +195,6 @@ java_type_for_size (unsigned bits, int unsignedp)
return 0;
}
-/* Return a signed type the same as TYPE in other respects. */
-
-tree
-java_signed_type (tree type)
-{
- return get_signed_or_unsigned_type (0, type);
-}
-
/* Mark EXP saying that we need to be able to take the
address of it; it should not be allocated in a register.
Value is true if successful. */