(rtx_free): New function.
authorRichard Stallman <rms@gnu.org>
Sun, 19 Sep 1993 19:07:16 +0000 (19:07 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 19 Sep 1993 19:07:16 +0000 (19:07 +0000)
From-SVN: r5366

gcc/rtl.c

index ac1979fc51daa36df940fe635db8eca996108449..66effae8cee967040fafbf273ba60d65f817f323 100644 (file)
--- 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);
+}
 \f
 /* Create a new copy of an rtx.
    Recursively copies the operands of the rtx,