compiler: Fix erroneous use of VEC.

From-SVN: r187665
This commit is contained in:
Ian Lance Taylor 2012-05-18 20:15:58 +00:00
parent 8f7c0347de
commit ca5c09c553
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ Gogo::register_gc_vars(const std::vector<Named_object*>& var_gc,
// Build a constructor for the struct.
VEC(constructor_elt,gc*) root_list_init = VEC_alloc(constructor_elt, gc, 2);
VEC(constructor_elt,gc)* root_list_init = VEC_alloc(constructor_elt, gc, 2);
elt = VEC_quick_push(constructor_elt, root_list_init, NULL);
field = TYPE_FIELDS(root_list_type);