- /* generate the call for any accumulation */
- if (self->accumulate) {
- ast_call *call = ast_call_new(ast_ctx(self), (ast_expression*)self->accumulate->vtype);
- for (i = 0; i < vec_size(ec->params); i++)
- vec_push(call->params, (ast_expression*)ec->params[i]);
- vec_push(vec_last(self->blocks)->exprs, (ast_expression*)call);
- }
-