[patch] tree-ssa-live.c: Use a heap-allocated array instead of VARRAY (Part 2)

Kazu Hirata kazu@cs.umass.edu
Sat Apr 23 17:04:00 GMT 2005


Hi Nathan,

> Y'know, all things being equal, why not use the VEC API here?  you'll
> get virtually the same code (using _VEC_quick_foo or whatever), and with
> checking enabled you're guaranteed not to go wandering off the end.

Ah, huh!  That's a good idea.  Next time I encounter a VARRAY that
does not grow, I'll consider using the VEC API.

Kazu Hirata



More information about the Gcc-patches mailing list