]> gcc.gnu.org Git - gcc.git/commitdiff
(rtl_in_saveable_obstack): Always switch to saveable_obstack.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 2 Mar 1993 20:54:45 +0000 (12:54 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 2 Mar 1993 20:54:45 +0000 (12:54 -0800)
Return type now void instead of int.

From-SVN: r3599

gcc/tree.c

index cc2219b9b2f5d1e4cd91295229a043f4ec2852cf..45b917dd57cbfec68167b8f11571ab9baa1fd642 100644 (file)
@@ -524,19 +524,13 @@ rtl_in_current_obstack ()
   rtl_obstack = current_obstack;
 }
 
-/* Temporarily allocate rtl from saveable_obstack.  Return 1 if we were
-   previously allocating it from current_obstack.  */
+/* Start allocating rtl from saveable_obstack.  Intended to be used after
+   a call to push_obstacks_nochange.  */
 
-int
+void
 rtl_in_saveable_obstack ()
 {
-  if (rtl_obstack == current_obstack)
-    {
-      rtl_obstack = saveable_obstack;
-      return 1;
-    }
-  else
-    return 0;
+  rtl_obstack = saveable_obstack;
 }
 \f
 /* Allocate SIZE bytes in the current obstack
This page took 0.06693 seconds and 5 git commands to generate.