parseerror(parser, "failed to create accessor function value");
return false;
}
+ fval->expression.flags &= ~(AST_FLAG_COVERAGE_MASK);
func = ast_function_new(ast_ctx(array), funcname, fval);
if (!func) {
}
static bool parser_set_coverage_func(parser_t *parser, ir_builder *ir) {
+ size_t i;
ast_expression *expr;
ast_value *cov;
ast_function *func;
return true;
func = NULL;
- for (size_t i = 0; i != vec_size(parser->functions); ++i) {
+ for (i = 0; i != vec_size(parser->functions); ++i) {
if (!strcmp(parser->functions[i]->name, "coverage")) {
func = parser->functions[i];
break;