Use std::vector in compile-loc2c.c
authorTom Tromey <tom@tromey.com>
Wed, 25 Oct 2017 21:46:31 +0000 (15:46 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 4 Nov 2017 16:27:15 +0000 (10:27 -0600)
commitc6bcad5ffc9b4021253487e46a8754e5804135cf
treedfffcffe301a7c66fab84308726e1e0739e20c20
parent20dcd8cae7d87910f6c3936bad72e78b647a8de6
Use std::vector in compile-loc2c.c

This changes compile-loc2c.c to use std::vector, removing some
cleanups.

gdb/ChangeLog
2017-11-04  Tom Tromey  <tom@tromey.com>

* compile/compile-loc2c.c (compute_stack_depth_worker): Change
type of "info".
(compute_stack_depth): Likewise.
(do_compile_dwarf_expr_to_c): Use std::vector.
gdb/ChangeLog
gdb/compile/compile-loc2c.c