r243447 - in /trunk/gcc: ChangeLog emit-rtl.c f...

dmalcolm@gcc.gnu.org dmalcolm@gcc.gnu.org
Thu Dec 8 17:29:00 GMT 2016


Author: dmalcolm
Date: Thu Dec  8 17:29:41 2016
New Revision: 243447

URL: https://gcc.gnu.org/viewcvs?rev=243447&root=gcc&view=rev
Log:
Introduce emit_status::ensure_regno_capacity

gcc/ChangeLog:
	* emit-rtl.c (gen_reg_rtx): Move regno_pointer_align and
	regno_reg_rtx resizing logic to...
	(emit_status::ensure_regno_capacity): ...this new method,
	and ensure that the buffers are large enough.
	(init_emit): Allocate regno_reg_rtx using ggc_cleared_vec_alloc
	rather than ggc_vec_alloc.
	* function.h (emit_status::ensure_regno_capacity): New method.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/emit-rtl.c
    trunk/gcc/function.h



More information about the Gcc-cvs mailing list