summaryrefslogtreecommitdiff
path: root/gcc/config/arm/thumb.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-14 14:54:08 -0800
committerYamaArashi <shadow962@live.com>2016-02-14 14:54:08 -0800
commit30da3665d6f93871e0c6d362d2f6cd3246c79b0a (patch)
treed6bf286a25502c190319a9ee0acf23396eed3ad3 /gcc/config/arm/thumb.c
parent085546bf61bf974a9fcb5c6d581a2e6bb85c3202 (diff)
remove unneeded function
Diffstat (limited to 'gcc/config/arm/thumb.c')
-rwxr-xr-xgcc/config/arm/thumb.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/config/arm/thumb.c b/gcc/config/arm/thumb.c
index e62237b..1aaff01 100755
--- a/gcc/config/arm/thumb.c
+++ b/gcc/config/arm/thumb.c
@@ -75,30 +75,6 @@ thumb_shiftable_const(HOST_WIDE_INT val)
return 0;
}
-int
-thumb_trivial_epilogue()
-{
- int regno;
-
- /* ??? If this function ever returns 1, we get a function without any
- epilogue at all. It appears that the intent was to cause a "return"
- insn to be emitted, but that does not happen. */
- return 0;
-
-#if 0
- if (get_frame_size()
- || current_function_outgoing_args_size
- || current_function_pretend_args_size)
- return 0;
-
- for (regno = 8; regno < 13; regno++)
- if (regs_ever_live[regno] && !call_used_regs[regno])
- return 0;
-
- return 1;
-#endif
-}
-
/* Routines for handling the constant pool */
/* This is unashamedly hacked from the version in sh.c, since the problem is
extremely similar. */