From: Jim Wilson Date: Tue, 2 Mar 1993 20:54:45 +0000 (-0800) Subject: (rtl_in_saveable_obstack): Always switch to saveable_obstack. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02e39be12010054b7fb81aceb731590bf7f44843;p=gcc.git (rtl_in_saveable_obstack): Always switch to saveable_obstack. Return type now void instead of int. From-SVN: r3599 --- diff --git a/gcc/tree.c b/gcc/tree.c index cc2219b9b2f..45b917dd57c 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -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; } /* Allocate SIZE bytes in the current obstack