aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-09-19 19:07:16 +0000
committerRichard Stallman <rms@gnu.org>1993-09-19 19:07:16 +0000
commit9b404774e7b588cf665f17777dc7ed6b704981e7 (patch)
tree5c5f7e25e3df6c72435c47da49281f7d4ce24d12 /gcc/rtl.c
parent7f98eeb6baabd96379c8be067a7bd32f9267e255 (diff)
downloadgcc-9b404774e7b588cf665f17777dc7ed6b704981e7.zip
gcc-9b404774e7b588cf665f17777dc7ed6b704981e7.tar.gz
gcc-9b404774e7b588cf665f17777dc7ed6b704981e7.tar.bz2
(rtx_free): New function.
From-SVN: r5366
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index ac1979f..66effae 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -246,6 +246,15 @@ rtx_alloc (code)
return rt;
}
+
+/* Free the rtx X and all RTL allocated since X. */
+
+void
+rtx_free (x)
+ rtx x;
+{
+ obstack_free (rtl_obstack, x);
+}
/* Create a new copy of an rtx.
Recursively copies the operands of the rtx,