diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-17 14:27:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-17 14:27:34 +0900 |
commit | a90f29ebb2e3b1b26fb6528104a262537ed251de (patch) | |
tree | 870026e3c75ccfb8f5c0d69c74f9681f034d7bf9 /compile.c | |
parent | 352e923242a23ba661a8cf91e4c43c156f7d7519 (diff) |
procnames-start-lines [ci skip]
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -596,7 +596,8 @@ APPEND_ELEM(ISEQ_ARG_DECLARE LINK_ANCHOR *const anchor, LINK_ELEMENT *before, LI #define APPEND_ELEM(anchor, before, elem) APPEND_ELEM(iseq, (anchor), (before), (elem)) #endif -static int branch_coverage_valid_p(rb_iseq_t *iseq, int first_line) +static int +branch_coverage_valid_p(rb_iseq_t *iseq, int first_line) { if (!ISEQ_COVERAGE(iseq)) return 0; if (!ISEQ_BRANCH_COVERAGE(iseq)) return 0; @@ -604,7 +605,8 @@ static int branch_coverage_valid_p(rb_iseq_t *iseq, int first_line) return 1; } -static VALUE decl_branch_base(rb_iseq_t *iseq, const NODE *node, const char *type) +static VALUE +decl_branch_base(rb_iseq_t *iseq, const NODE *node, const char *type) { const int first_lineno = nd_first_lineno(node), first_column = nd_first_column(node); const int last_lineno = nd_last_lineno(node), last_column = nd_last_column(node); @@ -643,7 +645,8 @@ static VALUE decl_branch_base(rb_iseq_t *iseq, const NODE *node, const char *typ return branches; } -static void add_trace_branch_coverage(rb_iseq_t *iseq, LINK_ANCHOR *const seq, const NODE *node, int branch_id, const char *type, VALUE branches) +static void +add_trace_branch_coverage(rb_iseq_t *iseq, LINK_ANCHOR *const seq, const NODE *node, int branch_id, const char *type, VALUE branches) { const int first_lineno = nd_first_lineno(node), first_column = nd_first_column(node); const int last_lineno = nd_last_lineno(node), last_column = nd_last_column(node); |