From 792c1afd95ef2a3cc32f110798760511194252ad Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 7 Jan 2014 15:01:52 +0100 Subject: [PATCH] Do not create coverage calls on array accessors. --- parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parser.c b/parser.c index 956d88d..5a82234 100644 --- a/parser.c +++ b/parser.c @@ -4407,6 +4407,7 @@ static bool parser_create_array_accessor(parser_t *parser, ast_value *array, con 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) {