Commit 2260924f by Jim Wilson

(immed_double_const, immed_real_const_1): Likewise.

From-SVN: r3600
parent 02e39be1
...@@ -1341,10 +1341,10 @@ immed_double_const (i0, i1, mode) ...@@ -1341,10 +1341,10 @@ immed_double_const (i0, i1, mode)
freed memory. So switch to saveable_obstack for this allocation freed memory. So switch to saveable_obstack for this allocation
and then switch back if we were in current_obstack. */ and then switch back if we were in current_obstack. */
in_current_obstack = rtl_in_saveable_obstack (); push_obstacks_nochange ();
rtl_in_saveable_obstack ();
r = gen_rtx (CONST_DOUBLE, mode, 0, i0, i1); r = gen_rtx (CONST_DOUBLE, mode, 0, i0, i1);
if (in_current_obstack) pop_obstacks ();
rtl_in_current_obstack ();
/* Don't touch const_double_chain in nested function; /* Don't touch const_double_chain in nested function;
see force_const_mem. */ see force_const_mem. */
...@@ -1410,12 +1410,12 @@ immed_real_const_1 (d, mode) ...@@ -1410,12 +1410,12 @@ immed_real_const_1 (d, mode)
freed memory. So switch to saveable_obstack for this allocation freed memory. So switch to saveable_obstack for this allocation
and then switch back if we were in current_obstack. */ and then switch back if we were in current_obstack. */
in_current_obstack = rtl_in_saveable_obstack (); push_obstacks_nochange ();
rtl_in_saveable_obstack ();
r = rtx_alloc (CONST_DOUBLE); r = rtx_alloc (CONST_DOUBLE);
PUT_MODE (r, mode); PUT_MODE (r, mode);
bcopy (&u, &CONST_DOUBLE_LOW (r), sizeof u); bcopy (&u, &CONST_DOUBLE_LOW (r), sizeof u);
if (in_current_obstack) pop_obstacks ();
rtl_in_current_obstack ();
/* Don't touch const_double_chain in nested function; /* Don't touch const_double_chain in nested function;
see force_const_mem. */ see force_const_mem. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment