projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3201f6d
)
(mark_all_temps_used): New function.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 26 Aug 1996 02:27:04 +0000
(22:27 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 26 Aug 1996 02:27:04 +0000
(22:27 -0400)
From-SVN: r12671
gcc/function.c
patch
|
blob
|
history
diff --git
a/gcc/function.c
b/gcc/function.c
index 7950e1e2a43dd010a5615643fcde3f622aa2614b..244d6fb4027237c48b4f279f5dbba82344470161 100644
(file)
--- a/
gcc/function.c
+++ b/
gcc/function.c
@@
-1227,6
+1227,21
@@
free_temps_for_rtl_expr (t)
combine_temp_slots ();
}
+/* Mark all temporaries ever allocated in this functon as not suitable
+ for reuse until the current level is exited. */
+
+void
+mark_all_temps_used ()
+{
+ struct temp_slot *p;
+
+ for (p = temp_slots; p; p = p->next)
+ {
+ p->in_use = 1;
+ p->level = temp_slot_level;
+ }
+}
+
/* Push deeper into the nesting level for stack temporaries. */
void